home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / mod.std.unix.v9 / text0024.txt < prev    next >
Encoding:
Internet Message Format  |  1987-06-30  |  768 b 

  1. From: decwrl!nsc!nsc!nsta!instable.ether!amos (Amos Shapir)
  2. Date: Mon, 19 Jan 87 16:54:53 -0200
  3. Organization: National Semiconductor (Israel) Ltd.
  4.  
  5. >From: colonel@sunybcs.UUCP (Col. G. L. Sicherman)
  6. >I'd like to see a program that does what tail does, except that if
  7. >you say "tail +n" it skips the first n units.  You could call it
  8. >something else--maybe "trail."  And how about a "head" with the same
  9. >syntax as tail/trail?  ("head xx file; tail xx file" = "cat file")
  10.  
  11. Try 'dd bs=n skip=1' - actually, what you need is a 'line' modifier to
  12. dd, in addition to chars, blocks and k.
  13. -- 
  14.     Amos Shapir
  15. National Semiconductor (Israel)
  16. 6 Maskit st. P.O.B. 3007, Herzlia 46104, Israel
  17. (011-972) 52-522261  amos%nsta@nsc 34.48'E 32.10'N
  18.  
  19. Volume-Number: Volume 9, Number 25
  20.  
  21.