why does this command:

for i in $(ls *m3u) ; echo $i ; done

give me this error:

bash: syntax error near unexpected token `echo'

???

bigger question - why does this command:

for i in $(ls *m3u) ; do rename 's/\ /_/g' $i ; done

do nothing.

???

neither does this one:

for i in *.m3u ; do rename 's/\ /_/g' $i ; done

???

tks for your wisdom.

scott
-- 
R. Scott Granneman
[EMAIL PROTECTED] ~ www.granneman.com
Full list of publications: http://www.granneman.com/publications
  My new book on Firefox: Don't Click on the Blue E!
    Info at: http://www.oreilly.com/catalog/bluee/
  Read the Open Source Blog: http://opensource.weblogsinc.com
  Join GranneNotes! Information at www.granneman.com

"Regret for the things we did can be tempered by time; it is regret for the 
things we did not do that is inconsolable."
      ---Sidney J. Harris
_______________________________________________
CWE-LUG mailing list
http://www.cwelug.org/    
[email protected]
http://lists.firepipe.net/listinfo/cwe-lug

Reply via email to