in reply to Isn't glob annoying? (somehow)
As shell expansion, this does what it promises. Here is an example excerpt from my /bin/sh on cygwin:glob EXPR glob Returns the value of EXPR with filename expansions such as + the standard Unix shell /bin/csh would do. This is the interna +l function implementing the "<*.c>" operator, but you can us +e it directly. If EXPR is omitted, "$_" is used. The "<*.c>" op +erator is discussed in more detail in the section on "I/O Operato +rs" in the perlop manpage. ....
$ echo * Desktop Mail _viminfo building-gcc-for-mips.txt car.pic gcc gdbtk.ini +kbuildsycoca.exe.stackdump kikbd.exe.stackdump parrot pwin32 x0 x1 xx Administrator@RTC ~ $ echo *jd *jd Administrator@RTC ~ $ echo dwq dwq
Courage, the Cowardly Dog.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Isn't glob annoying? (somehow)
by PetaMem (Priest) on Aug 02, 2002 at 09:02 UTC | |
by Abigail-II (Bishop) on Aug 02, 2002 at 10:20 UTC | |
by Courage (Parson) on Aug 02, 2002 at 09:26 UTC |