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.
In reply to Re: Isn't glob annoying? (somehow)
by Courage
in thread Isn't glob annoying? (somehow)
by PetaMem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |