in reply to VVP:Perl oneliners for Unix commands
ls | grep '^Q\.PACES'
Updated Now I escape the literal period in the regex.
Update 2: I'm convinced that some of the other solutions will NOT work, including echo Q.PACES* and any Perl solution involving <Q.PACES*>. If the shell can't handle filename completion one way, it won't work another way either.
Further testing shows that this depends on your shell and your version of Perl. Your mileage may vary...
buckaduck
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: VVP:Perl oneliners for Unix commands
by derby (Abbot) on Mar 13, 2002 at 19:53 UTC | |
|
Re: Re: VVP:Perl oneliners for Unix commands
by Felonious (Chaplain) on Mar 15, 2002 at 03:05 UTC |