Re: Einzeiler-Frage
On 25.12.06 10:38:11, Gebhard Dettmar wrote:
> On Monday 25 December 2006 00:41, Sandro Frenzel wrote:
> > Hey Liste!
> >
> > [...]
> >
> > Und zwar lass ich mir einige Dateien mit
> >
> > skummy:/# cat /home/tester/tmp/ftp.out | grep new\ file | awk '{print
> > $6}'
> >
> Ich denke, mit awk - ich mach's mal mit einem ls-Beispiel, weil ich nicht
> weiß, wie in deinem ftp die columns sind:
> erstmal also:
> ls -l *txt >test.txt
> dann
> cat *txt |awk '/daten/{print $5, $9}'
Wie auch schon im OP: Useless use of cat, awk '...' *txt funktioniert
genauso.
Andreas
--
So you're back... about time...
Reply to: