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

Re: test im script



On Mon, Jul 12, 2004 at 06:47:41AM +0200, Bertram Scharpf wrote:
> 
>     test `ls -A /voller/pfad | head -n 1`
> 
> Meines wissens bricht `ls' ab, wenn die Pipe geschlossen
> wird.

AFAIK schließt head die pipe aber nicht.

Gruß
Christian

-- 
Christian Knoke            * * *            http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.



Reply to: