At 09:41 +0800 7/24/06, Peter N Lewis wrote:
>I'm not sure if it is technically documented anywhere, but basically, text on 
>the clipboard should have Mac line endings, although programs should deal with 
>any line endings when reading the clipboard or a file.

Yep. It's trying to debug my code to work that way which was giving me fits. I 
was hoping a programmer's editor would be able to help me out. I would sort of 
expect that OS neXt would prefer UNIX line ends everywhere though.

Solution:
SAVE the BBEdit file with endings I specify

cat myBBEditfile.txt | pbcopy
perl -w myprogram.pl

Does what I want.

-- 
--> Marriage and kilo are troubled words. Turmoil results when centuries-old 
usage is altered in specialized jargon <--.

-- 
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to