home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / question / 13791 < prev    next >
Encoding:
Text File  |  1992-11-22  |  924 b   |  24 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!gatech!nntp.msstate.edu!Isis.MsState.Edu!pec2
  3. From: pec2@ra.msstate.edu (Paul E. Carroll)
  4. Subject: How do I get a particualr line of a file?
  5. Message-ID: <pec2.722467852@Isis.MsState.Edu>
  6. Organization: Mississippi State University
  7. Date: Sun, 22 Nov 1992 21:30:52 GMT
  8. Lines: 14
  9.  
  10. This seems extremely simple, but I've run into the problem several times
  11. and gotten stumped each time.  So how do I view a particualr line of a 
  12. file?  Head looks at the top, tail the end, cat - echo - more - or less-
  13. look at the whole thing... but what if I want to see just line 30?
  14. or JUST line 210?  I'm stumped.
  15.  
  16. -Paul
  17. -(pec2@Ra.MsState.Edu)
  18.  
  19. -- 
  20. ------------------------------------------------------------
  21. |      \/\/\/\/\/\/                                        |
  22. |         @   @        -Paul Carroll                       |
  23. |           |           (pec2@Ra.MsState.edu)              |
  24.