Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15393

Re: [Patch] (tiny problem) bad short_doc for % command

From Robert Elz <kre@munnari.OZ.AU>
Newsgroups gnu.bash.bug
Subject Re: [Patch] (tiny problem) bad short_doc for % command
Date 2019-09-22 00:37 +0700
Message-ID <mailman.739.1569087541.2190.bug-bash@gnu.org> (permalink)
References <875zllu17s.fsf@igel.home> <f05218ed-a8f4-46f3-948e-46997cef7c5b@www.fastmail.com> <11446.1569087460@jinx.noi.kre.to>

Show all headers | View raw


    Date:        Sat, 21 Sep 2019 17:18:47 +0200
    From:        Andreas Schwab <schwab@linux-m68k.org>
    Message-ID:  <875zllu17s.fsf@igel.home>

  | A job spec already starts with %.

That's not what was meant.

In, for example:

	jinx$ help -s wait
	wait: wait [-fn] [id ...]

the command name appears both before and after the ':', as if to
say "The usage for the wait command is "wait" optional 'f' and 'n' flags,
and some number of optional "id" args.

On the other hand:

	jinx$ help -s %
	%: job_spec [&]

whetre the '%' command name is missing.  This is actually something of
a weird case, as a command which consists entirely of a job_spec is
treated the same as the '% job_spec' command (ie: one can use either "%1"
or "% %1") so the help probably needs to be enhanced even more.

kre


Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: [Patch] (tiny problem) bad short_doc for % command Robert Elz <kre@munnari.OZ.AU> - 2019-09-22 00:37 +0700

csiph-web