On 11 Feb 2019, at 00:18, Christopher Stone <[email protected]> wrote:
> On 02/10/2019, at 08:48, @lbutlr <[email protected]> wrote:
>> When the BBEdit man page says "the specified files" for a flag, it means
>> that a file is required. (FSVO of the word file)
>
> bbedit -s 'What file is required?'
>
> If the file does not exist then the worksheet is created as named, but no
> file is written to disk.
The file with that name is created in BBEdit. It says nothing about writing a
file to disk.
However, the -c flag DOES create a file on disk, so the man page is a little
confusing, but -c flag does mention the file being created empty, which implies
to me that there is a real 0 length file on the disk. This is aided by the
existence of the --new-window switch which opens BBEdit with a new named file
and does not create the file on disk and the fact that the -c switch stands for
create.
But the phrasing for -c and -s are largely the same, so it is definitely
reasonable to think they would behave the same way.
The man page could be a little more specific. I’d suggest a two word addition
to the man entry:
-c, --create, -u, --create-unix
Create the specified files on disk, unless they exist already, in
which case they are
opened. The new files are created empty. Beginning with BBEdit
11.6, -c and -u
are synonyms.
Or maybe,
Create the specified files as empty files on disk, or open any
files that already exist.
Beginning with BBEdit 11.6, -c and -u are synonyms.
Along with the elimination of the separate entry later in the man page for -u
--create-unix.
OTOH, I expect the man page for BBEdit is pretty low on the priority list.
Certainly after the ponies.
> However Cmd-S will save it to the working directory.
I didn’t even know you COULD save a shell worksheet. Learn something everyday.
Well, at least most days. Not sure that I’ll ever use that, but … maybe?
--
NO ONE WANTS TO HEAR FROM MY ARMPITS Bart chalkboard Ep. 3F01
--
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.