Niclas Hedhman wrote:
>
> I have made a script for recursive listing of files in directories...
>
<snip>
>
> The output will contain the full path to the files, and I have quotes
> (") around to handle space in directory/file names.
>
> But, if I do a
>
> rm $( recursive *.abc)
>
> the script processor will break a directory name at the space, serving
> 'rm' with multiple files, such as
>
<snip>
( IFS=$'\n'; rm $(find . -name '*.abc' -print) )
man bash
Marc
--
Marc Mutz <[EMAIL PROTECTED]> http://marc.mutz.com/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics
PGP-keyID's: 0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)