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

  1. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uwm.edu!biosci!agate!boulder!ucsu!rintintin.Colorado.EDU!brandy
  2. From: brandy@rintintin.Colorado.EDU (BRANDAUER CARL M)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: Question on sed
  5. Message-ID: <brandy.727986082@rintintin.Colorado.EDU>
  6. Date: 25 Jan 93 18:21:22 GMT
  7. References: <1993Jan24.102643.63110@cc.usu.edu> <halverso.727899661@staff.tc.umn.edu> <C1E9Mp.v4@cmie.ernet.in>
  8. Sender: news@ucsu.Colorado.EDU (USENET News System)
  9. Organization: University of Colorado, Boulder
  10. Lines: 14
  11. Nntp-Posting-Host: rintintin.colorado.edu
  12.  
  13. rs@cmie.ernet.in (Rajappa Iyer) writes:
  14.  
  15. >halverso@staff.tc.umn.edu (Chris Halverson) writes:
  16.  
  17. >>In <1993Jan24.102643.63110@cc.usu.edu> sl0k3@pluto.ee.usu.edu (Saturn) writes:
  18. >>>Hi,
  19. >>>    My appologies if this is a FAQ.  
  20. >>>How does one apply some editing commands to
  21. >>>a file using sed without having to redirect
  22. >>>output to another file.  I want the changes to 
  23. >>>appear on the same file.
  24.  
  25. Use 'ed' instead of 'sed'.  There may be a few differences you might have
  26. to watch for, but you'll gain the advantage of using line numbers etc.
  27.