Matt D. wrote:
> I believe the correct syntax is:
>
> $ ls -ld /usr/bin/gcc-*
There are multiple pattern matching characters.
http://www.gnu.org/software/bash/manual/bashref.html#Pattern-Matching
They have different uses. I intended to use '?' as written.
--Ken Nellis
--
Problem reports:
I believe the correct syntax is:
$ ls -ld /usr/bin/gcc-*
On 6/19/2013 9:01 AM, Nellis, Kenneth wrote:
> Surprised that this didn't work:
>
> $ ls -ld /usr/bin/gcc-?
> ls: cannot access /usr/bin/gcc-?: No such file or directory
> $
>
> while the following did:
>
>
> $ ls -ld /usr/bin/gcc-?.exe
>
Surprised that this didn't work:
$ ls -ld /usr/bin/gcc-?
ls: cannot access /usr/bin/gcc-?: No such file or directory
$
while the following did:
$ ls -ld /usr/bin/gcc-?.exe
-rwxr-xr-x 2 knellis Domain Users 94741 Feb 25 2009 /usr/bin/gcc-3.exe
-rwxr-xr-x 3 knellis Domain Users 231438 Oct 26
3 matches
Mail list logo