Re: Feed a list of filenames to vim

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux