bug-bash
[Top][All Lists]
Advanced

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

Re: help for needs to mention for ((...))


From: 積丹尼 Dan Jacobson
Subject: Re: help for needs to mention for ((...))
Date: Mon, 20 Sep 2021 13:59:36 +0800

OK, so it first looks for exact hits,
then does a grep style match.
And we see that

$ help f|grep :.
false: false
fc: fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]
fg: fg [job_spec]
for: for NAME [in WORDS ... ] ; do COMMANDS; done
for ((: for (( exp1; exp2; exp3 )); do COMMANDS; done
function: function name { COMMANDS ; } or name () { COMMANDS ; }

the function name is 'for (('
not 'for (( ))' etc.
Great.



reply via email to

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