getting a field from a line in awk/sed/?

Tom Christiansen tchrist at convex.COM
Thu Jan 10 13:57:36 AEST 1991


>From the keyboard of dberg at informix.com (David I. Berg):
:In article <1991Jan9.162817.17038 at porthos.cc.bellcore.com> snk at bae.bae.bellcore.com (Samuel N Kamens) writes:

:>The question I had was, how can I use UNIX tools to 
:>get one field out of a line?

:Use cut. 

% cut
cut: Command not found.
% awk
awk: Usage: awk [-fc] [-f source | 'cmds'] [files]

--tom



More information about the Comp.unix.questions mailing list