On 9 Feb 2019, at 15:02, Christopher Stone <[email protected]> wrote: > On 02/09/2019, at 03:08, @lbutlr <[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.
Yes, I thought that was what you wanted. > The whole purpose of my request was to provide a means of opening the > worksheet to a specific directory without changing the working directory. Um, Ok, what? They change the working directory *for BBEdit*. $ pwd; $(cd ~/Downloads; ls -l |bbedit -s); pwd /Users/lbutlr /Users/lbutlr I couldn't think of a use for putting the list of files of a directory into a shell worksheet and not changing BBEdit to that directory, but if that is useful, this does that. ls -l ~/Downloads | bbedit -s will dump the list of files in ~/Downloads into bbedit and not change directory. > For that matter bbedit -s does NOT work unless text is piped to it. bbedit -s . When the BBEdit man page says "the specified files" for a flag, it means that a file is required. (FSVO of the word file) -- No man is free who is not master of himself -- 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.
