home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / shell / 3882 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  691 b 

  1. Path: sparky!uunet!gatech!uflorida!carp.cis.ufl.edu!urs
  2. From: urs@carp.cis.ufl.edu (Uppili Srinivasan)
  3. Newsgroups: comp.unix.shell
  4. Subject: Substring of a file name
  5. Message-ID: <37016@uflorida.cis.ufl.edu>
  6. Date: 10 Sep 92 15:15:41 GMT
  7. Sender: news@uflorida.cis.ufl.edu
  8. Distribution: usa
  9. Organization: Univ. of Florida CIS Dept.
  10. Lines: 15
  11. Nntp-Posting-Host: carp.cis.ufl.edu
  12.  
  13. Hi,
  14.  
  15. I need to write a script to read a substring of some of the filenames
  16.  
  17. in a directory. (i.e) if xy1992 is the name i need to read the last four
  18.  
  19. letters only. I guess 'awk' is ideal for this . But I am curious to
  20.  
  21. know the other ways of doing this.
  22.  
  23.  
  24. Thanx in advance
  25.  
  26. My e-mail address : urs@carp.cis.ufl.edu
  27.  
  28.