From owner-freebsd-questions Sat Oct 27 2:16:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ctb-mesg2.saix.net (ctb-mesg2.saix.net [196.25.240.74]) by hub.freebsd.org (Postfix) with ESMTP id 51F3F37B407 for ; Sat, 27 Oct 2001 02:16:38 -0700 (PDT) Received: from family (ctb53-02-p15.wc.saix.net [155.239.150.15]) by ctb-mesg2.saix.net (8.11.4/8.11.4) with SMTP id f9R9Fni12729 for ; Sat, 27 Oct 2001 11:15:49 +0200 (SAT) Message-ID: <000801c15ec8$5434c860$0101a8c0@family> From: "Gavin Mutch" To: Subject: Date: Sat, 27 Oct 2001 11:17:38 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C15ED8.FC7111E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 Disposition-Notification-To: "Gavin Mutch" X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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
Hi
 
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.
 
Thanx
Gavin
------=_NextPart_000_0005_01C15ED8.FC7111E0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message