Life and code.
RSS icon Home icon
  • Shell Love

    Posted on January 7th, 2004 Brian No comments

    Oh UNIX shell, how do I love thee? You let me do things like

    [Metropolis](3)# foreach f (*.ogg)
    foreach? oggdec "$f"
    foreach? lame --preset r3mix "`echo $f | sed 's/.ogg/.wav/'`" "`echo $f | sed 's/.ogg/.mp3/'`"
    foreach? rm -f $f
    foreach? end

    A GUI could never smell as sweet.

    Comments are closed.