On 29 Aug, Russell Davies wrote:
>  True, although IMO people who have such files deserve everything they 
>  get.

Agreed. But I still try to write my scripts to cope with it.

> Spaces in files are evil. 

Pipes and ampersands are worse.  And one can imagine worse things...

Don't do this:

        > /tmp/"xxx; rm -rf /"

Then use any script that uses this idiom:

    for f
    do
        eval echo $f
    done

Not everyone is careful to use "$f" throughout the scripts they write.
 
luke



--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to