Quote (Zucca @ Jan. 30 2007,17:35) |
I'm thinking It should be sed -e 's/ /\\ /g'. But I'm not sure about that. |
Code Sample |
echo "one two three" | sed -e 's/ /\\ /g' |
Code Sample |
cat `echo "one two three" | sed -e 's/ /\\ /g'` |
Quote |
cat: one: No such file or directory cat: two: No such file or directory cat: three: No such file or directory |
Code Sample |
find ${DIR} | while read song; do case "$song" in *.mp3|*.Mp3|*.MP3) ${MP3_PLAYER} $@ "$song" && sleep 1 && clear;; *.ogg|*.Ogg|*.OGG) ${OGG_PLAYER} $@ "$song" && sleep 1 && clear;; esac; done |