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


Click here to return to the 'Filter PC/Mac line endings from pasteboard data' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Filter PC/Mac line endings from pasteboard data
Authored by: adrianm on Apr 05, '05 03:26:36AM

Why fire up an entire sed interpreter when you could do the exact same thing with the "perl" command?

Seriously though, perl takes about twice as long to run as sed in this case, but both are around the 100th of a second (on my mac), and both waaaaay longer than it takes to type 'pbpaste' etc.



[ Reply to This | # ]