From owner-freebsd-questions Wed Jan 31 15:11:43 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA22311 for questions-outgoing; Wed, 31 Jan 1996 15:11:43 -0800 (PST) Received: from fslg8.fsl.noaa.gov (fslg8.fsl.noaa.gov [137.75.131.171]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA22306 for ; Wed, 31 Jan 1996 15:11:41 -0800 (PST) Received: by fslg8.fsl.noaa.gov (5.57/Ultrix3.0-C) id AA04161; Wed, 31 Jan 96 17:11:39 -0600 Received: by emu.fsl.noaa.gov (1.38.193.4/SMI-4.1 (1.38.193.4)) id AA20294; Wed, 31 Jan 1996 16:11:38 -0700 Date: Wed, 31 Jan 1996 16:11:38 -0700 From: kelly@fsl.noaa.gov (Sean Kelly) Message-Id: <9601312311.AA20294@emu.fsl.noaa.gov> To: mpp@mpp.minn.net Cc: freebsd-questions@freebsd.org In-Reply-To: <199601312045.OAA05577@mpp.minn.net> Subject: Re: line command Sender: owner-questions@freebsd.org Precedence: bulk >>>>> "Mike" == Mike Pritchard writes: Mike> I'm trying to get some of the scripts in Mike> /usr/src/share/man/tools working, and some of them use a Mike> "line" command. Does anyone have any idea what this command Mike> is supposed to do, and what the else I might use in its Mike> place? Reads up to newline or EOF on standard input and echos the read data to standard output. Non-POSIX version supports a -t option. Replace with `read' in sh, $< in csh, others in other shells. -- Sean Kelly NOAA Forecast Systems Laboratory, Boulder Colorado USA Last year I went fishing with Salvador Dali. He was using a dotted line. He caught every other fish. -- Steven Wright