Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2001 02:26:32 -0700 (PDT)
From:      "Michael McCaffrey" <michael@fxprojects.com>
To:        gmutch@global.co.za (Gavin Mutch)
Cc:        questions@FreeBSD.ORG
Subject:   Re: your mail
Message-ID:  <200110270926.f9R9QWp50451@godzilla.fxprojects.com>
In-Reply-To: <no.id> from "Gavin Mutch" at Oct 27, 2001 11:17:38 AM

next in thread | previous in thread | raw e-mail | index | archive | help
wc -l file

> 
> 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>&nbsp;</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.&nbsp;=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>&nbsp;</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
> 



     _   _     
    (_)-(_)    
     (o o)     
 ooO--(_)--Ooo-

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?200110270926.f9R9QWp50451>