[Gllug] Help with Script.

Nix nix at esperi.org.uk
Tue Jan 18 09:02:07 UTC 2011


On 10 Jan 2011, Jason Clifford said:
> The "cut" part needs to be :
>
> cut -d " " -f3 - >> live.txt
>
> as the file is STDIN

That's OK, cut is a filter: it reads from stdin by default. You don't
need a - to indicate that (though it does no harm and is specified in
POSIX, some older systems may not support - to mean 'stdin', e.g.
SunOS 4. But maybe nobody cares about systems that archaic anymore.)
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list