4 ms·
You mean ctrl-w or <ESC>bC? ;-) I would find it okay without cat to start the next line with "grep newPattern " and then fetching the previous filename with al
by jgtrosh 8y ago
You mean ctrl-w or <ESC>bC? ;-)
I would find it okay without cat to start the next line with "grep newPattern " and then fetching the previous filename with alt-. (edit: or !$ of course, but alt-. is more practical) -- not saying it's necessarily always better, but knowing your shell better (and/or using a better one) is often a viable alternative to using another construct.
Also, than* (sorry)