Article View: comp.editors
Article #2953Re: Piping just *1* line [Was: mapping space bar]
From: Philip Kizer
Date: Thu, 28 Jan 1993 04:41
Date: Thu, 28 Jan 1993 04:41
16 lines
884 bytes
884 bytes
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
Technical Details
Message-ID:
<1k7o5aINN1vd@tamsun.tamu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!ames!sun-barr!cs.utexas.edu!tamsun.tamu.edu!tamsun.tamu.edu!newsReferences:
<1993Jan27.214031.3457@bcars6a8.bnr.ca>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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