From owner-freebsd-questions Sun Oct 14 19:21:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 9457737B401; Sun, 14 Oct 2001 19:21:42 -0700 (PDT) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 7080F2B6A1; Mon, 15 Oct 2001 04:21:40 +0200 (CEST) Received: by k7.mavetju.org (Postfix, from userid 1001) id 69051183; Mon, 15 Oct 2001 12:21:37 +1000 (EST) Date: Mon, 15 Oct 2001 12:21:37 +1000 From: Edwin Groothuis To: Greg Lehey Cc: FreeBSD Subject: Re: "nl" command Message-ID: <20011015122137.V2863@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , Greg Lehey , FreeBSD References: <20011015121322.R2865@k7.mavetju.org> <20011015114946.G69347@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011015114946.G69347@wantadilla.lemis.com>; from grog@FreeBSD.org on Mon, Oct 15, 2001 at 11:49:47AM +0930 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 On Mon, Oct 15, 2001 at 11:49:47AM +0930, Greg Lehey wrote: > On Monday, 15 October 2001 at 12:13:22 +1000, Edwin Groothuis wrote: > > On Sun, Oct 14, 2001 at 08:18:52PM -0600, Scott Gerhardt wrote: > >> I'm new to FreeBSD but not new to Linux/UNIX so bear with me. > >> I tried using "nl" to number lines in standard out put and I got this: > >> > >> 102 scott@blue: /home/scott > ls -al | ln > > > > ln, nl, what's in a name... > > > > can -n does the trick you want. > > $ can > bash: can: command not found typso hapen Edwin :-) -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message