Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!usc!cs.utexas.edu!convex!news From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.unix.questions Subject: Re: getting a field from a line in awk/sed/? Message-ID: <1991Jan10.025736.17005@convex.com> Date: 10 Jan 91 02:57:36 GMT References: <1991Jan9.162817.17038@porthos.cc.bellcore.com> <1991Jan9.225344.19979@informix.com> Sender: news@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 14 Nntp-Posting-Host: pixel.convex.com From the keyboard of dberg@informix.com (David I. Berg): :In article <1991Jan9.162817.17038@porthos.cc.bellcore.com> snk@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