Re: whoami explanation

From: Date: Wed, 04 Mar 2009 21:32:31 +0000
Subject: Re: whoami explanation
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-289280@lists.php.net to get a copy of this message
for FILE in $LIST do
    cp $FILE $FILE.bak
done
which works as long as you can guarantee that none your file names contain spaces ... ;)
Which he already said: Note that in both of these examples, filenames with spaces in them will blow the whole thing up :( ;) -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#289280) next »