
11 Aug
2005
11 Aug
'05
11:02 p.m.
* Jonathan Purvis <jon(a)purvis.co.nz> [2005-08-11 22:35]:
Eg, this command (for sorting the songs from _The Dark Side Of Phobos_ in level order) produces a string that can be cut'n'pasted to bash, but if i change the echo command to mplayer, it doesn't work as bash split on spaces.
echo `find . -name '*E1M*' | awk '{print $2,$0}' FS='[()]' | sort | sed -e 's/[^ ]* \(.*\)/\1/' -e 's/\([ ()]\)/\\\\\1/g'`
That’s not very helpful to people who have no set of suitable files to check the output… can you give examples of what you expect and what you are getting? Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>