On Thu, Jan 7, 2010 at 11:08 AM, Foss User <foss...@gmail.com> 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 debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to