Re: Command Line Create New BBEdit Document Paste

2014-12-16 Thread Rich F
That's excellent. You got it spot on. Works like a charm. Thanks On Monday, December 15, 2014 2:53:13 PM UTC-5, Grail wrote: The first method that comes to mind is to use a Unix pipe: echo ‘foo’ | bbedit Thus you would have your Ruby script output the text to be edited, then pipe

Command Line Create New BBEdit Document Paste

2014-12-15 Thread Rich F
Hi folks. I’d like to have BBEdit receive text that I have parked in a Ruby variable coming out of open-uri. Is there a way to create a new document that’s unsaved, then copy that variable to that document? I’m assuming I’ll use the bbedit command line interface for this, but I can’t seem to

Re: Command Line Create New BBEdit Document Paste

2014-12-15 Thread John Delacour
On 15 Dec 2014, at 18:05, Rich F li...@viaduct-productions.com wrote: I’d like to have BBEdit receive text that I have parked in a Ruby variable coming out of open-uri. Is there a way to create a new document that’s unsaved, then copy that variable to that document? I’m assuming I’ll use

Re: Command Line Create New BBEdit Document Paste

2014-12-15 Thread Jeffrey Jones
On Dec 15, 2014, at 1:36 PM, John Delacour j...@bd8.com wrote: echo some_text x.txt; open -a bbedit x.txt It's easier than that. echo some_text | bbedit --new-window See the bbedit man page for other useful options. -- This is the BBEdit Talk public discussion group. If you have a