Re: bash question

  • From: "Jacob Kruger" <jacobk@xxxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Sun, 24 Oct 2010 22:28:31 +0200

What scripting language etc.?

Doesn't look 100% familiar as such to me, either way.

Otherwise, don't you maybe make use of something like apostrophe characters to 
enclose a string with spaces in it or something...?

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'

  ----- Original Message ----- 
  From: Storm Dragon 
  To: programmingblind@xxxxxxxxxxxxx 
  Sent: Sunday, October 24, 2010 9:45 PM
  Subject: bash question


  hi,
  This script isn't working for some reason. I think all the quotes are in the 
right place, but it seems to treat any space as a new file. What should I do to 
get this working? Is it possible to keep it as one line? Thanks, and here is 
the code:
  for i in $(ls *.ogg); do mp3=$(echo "$i" | sed 's/ogg/mp3/');sox "$i" 
"$mp3";done
  Storm
        -- 
Registered Linux user number 508465:
http://counter.li.org/
My blog, Thoughts of a Dragon:
http://www.stormdragon.us/
Get yourself a Frostbox:
http://www.frostbitesystems.com/


       


  __________ Information from ESET NOD32 Antivirus, version of virus signature 
database 5560 (20101024) __________

  The message was checked by ESET NOD32 Antivirus.

  http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 5560 (20101024) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

Other related posts: