bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filename expansion cannot cope with ^A (literal control A)


From: Ralph Corderoy
Subject: Re: Filename expansion cannot cope with ^A (literal control A)
Date: Thu, 27 Jun 2002 08:31:00 GMT

Hi,

> $ touch ^A^A
> $ ls -l ^A?
> ls: `?: No such file or directory
> $ ls -l ?^A
> ls: ?`: No such file or directory
> $ ls -l ??
> -rw-rw-r--    1 nick     nick            0 Jun 26 20:57 ??
> $ bash --version
> GNU bash, version 2.05a.0(1)-release (arm-unknown-linux-gnu)
> Copyright 2001 Free Software Foundation, Inc.
> $ ls -l ^A^A
> -rw-rw-r--    1 nick     nick            0 Jun 26 20:57 ??

I can reproduce this.

    $ bash --version
    GNU bash, version 2.05.8(1)-release (i386-redhat-linux-gnu)
    Copyright 2000 Free Software Foundation, Inc.
    $ touch ^A^A
    $ ls -l ^A?
    ls: ?: No such file or directory
    $ ls -l ^A^A
    -rw-rw-r--    1 ralph    ralph           0 Jun 27 09:28 ??
    $ ls -l ??
    -rw-rw-r--    1 ralph    ralph           0 Jun 27 09:28 ??
    $ ls -l ??|cat -v
    -rw-rw-r--    1 ralph    ralph           0 Jun 27 09:28 ^A^A

Cheers,


Ralph.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]