On Fri, Jun 02, 2000 at 11:05:23AM +1000, Terry Collins wrote:
> for o in 'ls -1'
> do
> $o 'cat $o' #but haven't twigged to what is wrong with 2nd part
> done >> results
(what everyone else said)
you don't need "ls -1", since ls (should) only do single column output
if stdout isn't a tty
note also herbert's method, which doesn't even need the ls (i've
changed the "echo ``", since i had to add something original to this
thread ;):
for o in /path/*; do
echo -n $o\ ; cat $o
done >> results
--
- Gus
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text