Date: Sun, 28 Oct 2001 11:12:26 +1030 From: Greg Lehey <grog@FreeBSD.org> To: Gavin Mutch <gmutch@global.co.za> Cc: questions@freebsd.org Subject: Re: your mail Message-ID: <20011028111226.A13356@wantadilla.lemis.com> In-Reply-To: <000801c15ec8$5434c860$0101a8c0@family>; from gmutch@global.co.za on Sat, Oct 27, 2001 at 11:17:38AM %2B0200 References: <000801c15ec8$5434c860$0101a8c0@family>
next in thread | previous in thread | raw e-mail | index | archive | help
[Format recovered--see http://www.lemis.com/email/email-format.html] Your message was on a single line. On Saturday, 27 October 2001 at 11:17:38 +0200, Gavin Mutch wrote: > Hi > > I was wondering if you could tell me if there is a way to get the > number of lines of a piece of text, with no other output. What I > mean by this is that if you use cat -n file1, you get the number of > lines but you also get the text. wc -l is your friend. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011028111226.A13356>