Date: Sat, 27 Oct 2001 11:17:38 +0200 From: "Gavin Mutch" <gmutch@global.co.za> To: <questions@freebsd.org> Message-ID: <000801c15ec8$5434c860$0101a8c0@family>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C15ED8.FC7111E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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. Thanx Gavin ------=_NextPart_000_0005_01C15ED8.FC7111E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.3019.2500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3D"Comic Sans MS">Hi</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3D"Comic Sans MS">I was wondering if you could tell me = if there is=20 a way to get the number of lines of a piece of text, with no other = output. =20 What I mean by this is that if you use cat -n file1, you get the number = of lines=20 but you also get the text.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3D"Comic Sans MS">Thanx</FONT></DIV> <DIV><FONT face=3D"Comic Sans MS">Gavin</FONT></DIV></BODY></HTML> ------=_NextPart_000_0005_01C15ED8.FC7111E0-- 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?000801c15ec8$5434c860$0101a8c0>