Article View: mod.std.unix
Article #454Re: tail in 1003.2 Commands
From: std-unix
Date: Wed, 28 Jan 1987 03:18
Date: Wed, 28 Jan 1987 03:18
19 lines
1379 bytes
1379 bytes
From: decwrl!nsc!nsc!nsta!instable.ether!amos (Amos Shapir)
Date: Mon, 19 Jan 87 16:54:53 -0200
Organization: National Semiconductor (Israel) Ltd.
>From: colonel@sunybcs.UUCP (Col. G. L. Sicherman)
>I'd like to see a program that does what tail does, except that if
>you say "tail +n" it skips the first n units. You could call it
>something else--maybe "trail." And how about a "head" with the same
>syntax as tail/trail? ("head xx file; tail xx file" = "cat file")
Try 'dd bs=n skip=1' - actually, what you need is a 'line' modifier to
dd, in addition to chars, blocks and k.
--
Amos Shapir
National Semiconductor (Israel)
6 Maskit st. P.O.B. 3007, Herzlia 46104, Israel
(011-972) 52-522261 amos%nsta@nsc 34.48'E 32.10'N
Volume-Number: Volume 9, Number 25
Technical Details
Message-ID:
<6966@ut-sally.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!husc6!ut-sally!std-unixReferences:
<6710@ut-sally.UUCP> <6783@ut-sally.UUCP> <6882@ut-sally.UUCP>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: tail in 1003.2 Commands Message-ID: <6966@ut-sally.UUCP> Date: Tue, 27-Jan-87 22:18:09 EST Article-I.D.: ut-sally.6966 Posted: Tue Jan 27 22:18:09 1987 Date-Received: Wed, 28-Jan-87 23:37:06 EST References: <6710@ut-sally.UUCP> <6783@ut-sally.UUCP> <6882@ut-sally.UUCP> Organization: IEEE P1003 Portable Operating System for Computer Environments Committee Lines: 19 Approved: jsq@sally.utexas.edu