[PLUG] Re: bash command line editing
Brian Horan
bhoran at hexdev.com
Sun Sep 21 01:05:03 UTC 2003
cool!
On Sat, 2003-09-20 at 21:40, Keith Morse wrote:
> On Sat, 20 Sep 2003, Brian Horan wrote:
>
> > my bad ... that isn't the current command line...
> >
>
> But it is the previous command. I did find that if the command line
> contained a ";" that the substitution only proceeds up to that ";".
>
> thanks for the pointer, just what I needed.
>
>
> >
> > On Sat, 2003-09-20 at 20:07, Brian Horan wrote:
> > > ^text_to_replace^replacement_text
> > >
> > >
> > > On Sat, 2003-09-20 at 20:16, Keith Morse wrote:
> > > > Hopefully a quick one. Searching "man bash" and the O'Reilly book haven't
> > > > come up with an answer.
> > > >
> > > > Can one do a substitution on the current command line to the effect of
> > > > s/sometext/someothertest/ ?
> > > >
> > > >
> > > > _______________________________________________
> > > > PLUG mailing list
> > > > PLUG at lists.pdxlinux.org
> > > > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
--
Brian Horan <bhoran at hexdev.com>
More information about the PLUG
mailing list