🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mod.std.unix
Article #472

Re: Request for 'head' & 'trail Commands

#472
From: std-unix
Date: Sat, 31 Jan 1987 17:57
17 lines
984 bytes
From: ihnp4!ulysses!rv@sally.utexas.edu (Russel Vernon)
Date: Wed, 28 Jan 87 13:18:22 est

Are
	sed nq <file>	# For 'head -n'
and
	sed 1,nd <file>	# For 'trail +n'

so complicated that we should clutter things up with TWO new standard
UNIX commands? (I'm pretty sure #1 appears in K&P somewhere; #2 is an
obvious variant.)

Let's keep in mind what UNIX is supposed to be about, and KISS!

					-Russ-

Volume-Number: Volume 9, Number 39
Technical Details
Message-ID: <7018@ut-sally.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!husc6!ut-sally!std-unix

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!husc6!ut-sally!std-unix
From: std-unix@ut-sally.UUCP
Newsgroups: mod.std.unix
Subject: Re: Request for 'head' & 'trail Commands
Message-ID: <7018@ut-sally.UUCP>
Date: Sat, 31-Jan-87 12:57:58 EST
Article-I.D.: ut-sally.7018
Posted: Sat Jan 31 12:57:58 1987
Date-Received: Sat, 31-Jan-87 20:31:06 EST
Organization: IEEE P1003 Portable Operating System for Computer Environments Committee
Lines: 17
Approved: jsq@sally.utexas.edu