On Thu, Jan 7, 2010 at 11:08 AM, Foss User <[email protected]> wrote:
> This is my directory structure:
> .
> |   a.sh
> |   a.txt
> |
> +---foo bar
> |       b.txt
> |
> +---santa
> |   |   c.txt
> |   |
> |   \---humpty dumpty
> |           e.txt
> |
> \---test
>        d.txt
>
> I want to do some operation on each file ending with .txt. However,
> this script wouldn't work because in each iteration it gets one word
> from the output of find.
If you are using bash, the answer is in the faq
http://mywiki.wooledge.org/BashFAQ/020

Regards,


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to