[clue] replacement in command lines

Raymond DeRoo rderoo at deroo.net
Fri Oct 26 10:06:30 MDT 2012


David:

> So, you know how you can type
> 
> ^this^that
> 
> at the bash prompt to re-run your last command, replacing 'this' with 'that'?
> 
> Well, it only affects the first instance of 'this', like s/this/that/. Is there a way to make it global, like s/this/that/g?

Not in bash; and that feature is not available in sh. I can't speak for any other shells. 

FYI: Chipotle Nov 19-21?

Best regards,
Raymond
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20121026/e0071267/attachment.html 


More information about the clue mailing list