home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!ames!sun-barr!cs.utexas.edu!tamsun.tamu.edu!tamsun.tamu.edu!news
- From: pckizer@tamsun.tamu.edu (Philip Kizer)
- Newsgroups: comp.editors
- Subject: Re: Piping just *1* line [Was: mapping space bar]
- Date: 27 Jan 1993 22:41:14 -0600
- Organization: Texas A&M University, College Station, TX
- Lines: 18
- Distribution: inet
- Message-ID: <1k7o5aINN1vd@tamsun.tamu.edu>
- References: <1993Jan27.214031.3457@bcars6a8.bnr.ca>
- NNTP-Posting-Host: tamsun.tamu.edu
-
- Once, djf@bnr.ca wrote:
- >BTW:
- > - is there a way to pipe just *1* line through a filter? I find things like
- > !jsome_command<return>
- >always send two lines.
-
- Certainly:
-
- !!some_command<return>
-
- Just like dd, cc, and yy say to delete, change and yank the current line
- (respectively), !! says to pipe the current line to the command.
-
-
- G'day,
- philip
-
-
-