On 14 Jun, Greg Wooledge wrote:

[short shell quoting lesson]

> Try this instead:
> 
>   lame --add-id3v2 --tt "this is the tag"\!

IMHO it's more intuitive to write
  "this is the tag\!"

>> On the other hand, this works fine:
>> 
>>  lame --add-id3v2 --tt 'this is the tag!'
> 
> Yes, it does.  But double quotes are so much more convenient for enclosing
> tags because contractions occur so often in song titles.  There's just
> no good way to deal with it in bash (see above).

General rule:
You have to escape shell special characters in double quotes, but not in
single quotes. Text in single quotes can't contain a single quote, but
everything else works (without escaping).

Bye,
Alexander.

-- 
              To boldly go where I surely don't belong.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7

_______________________________________________
mp3encoder mailing list
[EMAIL PROTECTED]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to