home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / shell / 5514 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.0 KB

  1. Path: sparky!uunet!opl.com!hri.com!spool.mu.edu!sdd.hp.com!elroy.jpl.nasa.gov!swrinde!emory!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!lynx.unm.edu!nmsu.edu!jsz
  2. From: jsz@scf.nmsu.edu (Henri De Valois)
  3. Newsgroups: comp.unix.shell
  4. Subject: Another sed question.
  5. Message-ID: <1993Jan27.204753.23339@nmsu.edu>
  6. Date: 27 Jan 93 20:47:53 GMT
  7. Sender: usenet@nmsu.edu
  8. Organization: New Mexico State University
  9. Lines: 15
  10. X-Newsreader: TIN [version 1.1 PL8]
  11.  
  12.  
  13.  I am trying to write a script,that would append to each EOL
  14.  some string,say `blah'. but when I do "sed -e 's/^/blah/g' inputfile > outputfile"
  15.  `blah' inserts at the begining of each line.
  16.  
  17.  Any ideas ,suggestions are welcome. 
  18.  
  19. Thanks,Jonathan.
  20.  
  21. --
  22.      Never                                             \/  \/
  23.           apologize                                    /\  /\
  24.      Never                                            /  \/  \
  25.           explain. <yo@freedom.nmsu.edu>             /   /\   \
  26.            PGP 2.1 Key is available                 /   /  \   \ 
  27.