Karl Cunningham wrote: > Having a bad brain day. Can't seem to figure this one out; can't be that > difficult.
Happens to me more each day. ;-) :-( > 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. > > So far all I've succeeded in doing is have less show me the contents of > the file that contains the list of files to view. If you want them to be viewed in one less session, less `cat listfile` Use :n and :p to move through the files (note online help h). For separate sessions, while read F;do less $F;done <listfile this is kindof nasty, as it's difficult to abort. Don't ignore using an editor to view, for possible syntax highlighting benefits: gview `cat listfile` Regards, ..jim -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie
