On 8/20/2007 12:23 PM, John H. Robinson, IV wrote:
Karl Cunningham wrote:
I have a file containing about 100 file names (one per line) that I would like to send to less as if they were the list of files to view on the command line.

% less `cat file`
is probably the easiest way.

OK that works. I knew there was an operator error in here somewhere. The file of file names has relative paths and I wasn't in the right directory for less to find the files. What confused me is that when I ran it, less returned each file name it tried, so it looked like it was displaying the list of files.

Thanks.

Karl


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

Reply via email to