Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Create a text clipping containing the '@' character' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a text clipping containing the '@' character
Authored by: Abel on Dec 09, '08 06:01:15AM
I might be overcomplicating this, but you can combine steps 1 and 2 with the following command:
cat xxxx+yyyy.textClipping/rsrc | sed 's|+|@|g' > tmp.txt
Or, if you're like me and love one-liners, this one cuts all in a single slash:
cat xxxx+yyyy.textClipping/rsrc | sed 's|+|@|g' > tmp.txt && cat tmp.txt > xxxx+yyyy.textClipping/rsrc && rm tmp.txt
(No, you can't redirect sed's output directly back into xxxx+yyyy.textClipping/rsrc — that just leaves you with an empty clipping. But you may already know that.)

[ Reply to This | # ]