|
Re: One more on sort order...: msg#00078hardware.voyetra.audiotron
| From: Sean Hafeez <bawb@xxxxxxxxxxx> | Date: Mon, 08 Mar 2004 18:31:45 -0800 | | sed -E -e 's/^(TALB|TPE1|TIT2)=([Aa]n?|[Tt]he) (.*)$/\1=\3, \2/' < | atrontc.bak atrontc.vtc | | is this what it is suppose to look like on one line? You are missing ">" before "atrontc.vtc" there. And the mail folded the whole thing into two lines -- I guess unavoidable. And my mail client uses "| " to quote lines, so ignore those. | On Mar 8, 2004, at 10:13 AM, Kimmo Suominen wrote: | | > Well, why do it in an editor? :-) | > | > Provided your sed knows about extended regexps ("egrep(1)-style | > regexps"), i.e. it has the "-E" switch or equivalent, you can | > use this: | > | > mv atrontc.vtc atrontc.bak && \ | > sed -E \ | > -e 's/^(TALB|TPE1|TIT2)=([Aa]n?|[Tt]he) (.*)$/\1=\3, \2/' \ | > < atrontc.bak \ | >> atrontc.vtc ^ It's there, but your mail editor decided to something strange with it. I guess I should avoid starting lines with ">" in email. :-) Cheers, + Kim ----------------------------------------------------------- List archives: http://maillist.voyetra.com/audiotron.html You may leave the list at any time by sending an e-mail to LISTSERV@xxxxxxxxxxxxxxxxxxxx with only the words "SIGNOFF AUDIOTRON" in the body of the e-mail. Separate Message Board available at: http://www.turtle-beach.com/wb/messageboard.htm ----------------------------------------------------------- |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: One more on sort order...: 00078, Sean Hafeez |
|---|---|
| Next by Date: | Re: One more on sort order...: 00078, Kimmo Suominen |
| Previous by Thread: | Re: One more on sort order...i: 00078, Sean Hafeez |
| Next by Thread: | Re: One more on sort order...: 00078, Mike Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |