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

Re: [Debian]: xterm und grep ueber ein binary?



On Thu, Apr 02, 1998 at 04:47:31AM +0200, Joerg Plate wrote:
> #!/usr/bin/perl -w

@ARGV = glob '*' unless @ARGV;

> while (@ARGV) {
>   $file = shift @ARGV;
>   push (@textfiles, $file) if -T $file;
> }
> print join(' ',@textfiles), "\n";



> 1> grep foo `tlist *`

Wenn man die eine Zeile oben noch einfügt, kann man auch einfach 
# grep foo `tlist`
schreiben, da '*' als Default genommen wird.

-- 
marko  -  Nordisch by Nature

 "He was just a social drinker, but social every night."
                          'Woman in the wall' - Beautiful South -
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <your_email_address>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder:     430


Reply to: