emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 0c28223 2/3: ; * etc/NEWS: Fix wording in a recent addition.


From: Eli Zaretskii
Subject: Re: master 0c28223 2/3: ; * etc/NEWS: Fix wording in a recent addition.
Date: Thu, 15 Jul 2021 17:16:37 +0300

> From: Stefan Kangas <stefan@marxist.se>
> Date: Thu, 15 Jul 2021 13:53:20 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >  *** New function 'split-string-shell-command'.
> > -This splits a shell string into separate components, respecting single
> > -and double quotes, as well as backslash quoting.
> > +This splits a shell command string into separate components,
> > +respecting quoting with single ('like this') and double ("like this")
> > +quotes, as well as backslash quoting (like\ this).
> 
> Arguably nit-picking, but would it better to say "a string containing
> a shell command"?  It could be unclear here what a "shell command
> string" is; a reader might believe it's a special string type.

"A string containing SOMETHING" sounds strange to me.  In particular,
it could be interpreted to mean the string contains something else, in
addition to the shell command.  "Shell command string" is a string
that is a shell command.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]