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


Groups > gnu.bash.bug > #15393 > unrolled thread

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

Started byRobert Elz <kre@munnari.OZ.AU>
First post2019-09-22 00:37 +0700
Last post2019-09-22 00:37 +0700
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromRobert Elz <kre@munnari.OZ.AU>
Date2019-09-22 00:37 +0700
SubjectRe: [Patch] (tiny problem) bad short_doc for % command
Message-ID<mailman.739.1569087541.2190.bug-bash@gnu.org>
    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


[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web