[EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: > -tt 'this is "the tag"' > > But any ideas on how to get " and ' into the tag? Are there any other text > qualifiers that can be used?
This is a basic Unix question. There are several ways. Suppose we want to include the literal text Don't "stop" in our tag. You could do it with any of these: -tt "Don't "'"stop"' -tt "Don't \"stop\"" -tt Don\'t\ \"stop\" -tt 'Don'\''t "stop"' or other combinations like those. > lame --add-id3v2 --tt "this is the tag!" > bash: !": event not found bash is horrible at handling exclamation points. I actually filed a bug report on this (with Debian), but the maintainer said that it's a permissible behavior under the POSIX rules, so it's not going to be fixed. Try this instead: lame --add-id3v2 --tt "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). -- Greg Wooledge | "Truth belongs to everybody." [EMAIL PROTECTED] | - The Red Hot Chili Peppers http://wooledge.org/~greg/ |
msg00975/pgp00000.pgp
Description: PGP signature
