bug-bash
[Top][All Lists]
Advanced

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

bash man page while/until list clarification recommendation


From: Dan Jacobson
Subject: bash man page while/until list clarification recommendation
Date: 27 Mar 2001 14:14:29 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Regarding the bash 3/2000 man page, the "list" on lines 4 and 8 isn't
clear if it refers to the "do list", or the first "list":

     1         while list; do list; done
     2         until list; do list; done
     3                The while command continuously executes the do list
     4                as long as the last command in list returns an exit
     5                status of zero.  The until command is identical  to
     6                the while command, except that the test is negated;
     7                the do list is executed as long as the last command
     8                in  list  returns a non-zero exit status.  The exit
     9                status of the while and until commands is the  exit
    10                status  of  the  last  do list command executed, or
    11                zero if none was executed.

Sure, two seconds of thought give the answer, but lets make it idiot proof.
-- 
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.



reply via email to

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