On 02/09/2019, at 03:08, @lbutlr <[email protected] <mailto:[email protected]>> 
wrote:
> 
> $(cd ~/Downloads; ls -l |bbedit -s)
> 
> or 
> 
> echo 'ls -l' | $(cd ~/Downloads; bbedit -s)


Hey Lewis,

These work, but they change the working directory.

The whole purpose of my request was to provide a means of opening the worksheet 
to a specific directory without changing the working directory.

For that matter bbedit -s does NOT work unless text is piped to it.

wd=$(pwd); cd ~/Downloads; echo 'ls -l' | bbedit -s; cd "$wd"

A little scripting gets the job done, although once again you have more control 
of the outcome with AppleScript.

--
Best Regards,
Chris

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to