help with sed

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


Chris F.A. Johnson <cfaj at ...> writes:

> lame %f `echo %f | sed 's/.wav$//'`.mp3

'%f' suggests this runs under Win32 ? Or csh ? In bash:

  lame "$f" "${f%%.wav}.mp3"

(somehow I had expected you (CFAJ) to write this ;-)

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