home *** CD-ROM | disk | FTP | other *** search
- 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
- From: brandy@rintintin.Colorado.EDU (BRANDAUER CARL M)
- Newsgroups: comp.unix.questions
- Subject: Re: Question on sed
- Message-ID: <brandy.727986082@rintintin.Colorado.EDU>
- Date: 25 Jan 93 18:21:22 GMT
- References: <1993Jan24.102643.63110@cc.usu.edu> <halverso.727899661@staff.tc.umn.edu> <C1E9Mp.v4@cmie.ernet.in>
- Sender: news@ucsu.Colorado.EDU (USENET News System)
- Organization: University of Colorado, Boulder
- Lines: 14
- Nntp-Posting-Host: rintintin.colorado.edu
-
- rs@cmie.ernet.in (Rajappa Iyer) writes:
-
- >halverso@staff.tc.umn.edu (Chris Halverson) writes:
-
- >>In <1993Jan24.102643.63110@cc.usu.edu> sl0k3@pluto.ee.usu.edu (Saturn) writes:
- >>>Hi,
- >>> My appologies if this is a FAQ.
- >>>How does one apply some editing commands to
- >>>a file using sed without having to redirect
- >>>output to another file. I want the changes to
- >>>appear on the same file.
-
- Use 'ed' instead of 'sed'. There may be a few differences you might have
- to watch for, but you'll gain the advantage of using line numbers etc.
-