[CentOS] Feed a list of filenames to vim
Bowie Bailey
Bowie_Bailey at BUC.com
Wed May 18 17:02:40 UTC 2011
On 5/18/2011 12:58 PM, Les Mikesell wrote:
> On 5/18/2011 11:33 AM, Bowie Bailey wrote:
>> On 5/18/2011 11:34 AM, Michael Gliwinski wrote:
>>> Note that there's also a shortcut for cat (without launching a subprocess):
>>>
>>> $ vim $(< listfile)
>> That's one of those occasionally-useful tidbits that I will have
>> completely forgotten about by the time I need to use it again! :-)
> Don't think of it as a special case. It is a combination of two
> generically useful simple operations. Unix, the shell, and vi are all
> about being able to reuse and combine simple steps instead of
> special-casing everything.
Right. I was referring to the shell shortcut "$(< filename)". Simple -
Useful - and probably forgotten by the time I need it again.
--
Bowie
More information about the CentOS
mailing list