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


Click here to return to the 'Paste and Match Style' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Paste and Match Style
Authored by: TGV on Oct 04, '07 08:06:42AM

I'm afraid you can't rely on this. Somewhere the documentation says that pbcopy and pbpaste cannot be used in parallel. Of course, if your clipboard stays under the buffer size (8K?, 32K?), then you're probably safe, since pbpaste might have output the clipboard before pbcopy has seen a single byte, but beware that this does not work by design.



[ Reply to This | # ]
Paste and Match Style
Authored by: eno on Oct 04, '07 08:11:28AM

Well, just redirect the output to a temporary file then and read it back in.



[ Reply to This | # ]