help with sed

Peter P. plpeter2006-/E1597aS9LQAvxtiuMwx3w at public.gmane.org
Sat Jun 16 12:41:58 UTC 2007


Peter P. <plpeter2006 at ...> writes:

> '%f' suggests this runs under Win32 ? Or csh ? In bash:
>   lame "$f" "${f%%.wav}.mp3"

Scratch that, %f is substituted by K. So this should work:

  /bin/bash -ce 'f=%f; lame "$f" "${f%%.wav}.mp3"'

Peter P.


--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list