[u-u] wow, post-tested loops in sh

William Park opengeometry at yahoo.ca
Mon Jul 4 02:58:52 EDT 2016


Yes, manpage says
    while list1; do list2; done
where list is
    sequence of pipelines ...


It gets complicated pretty quick. :-)
-- 
William
    

On Sunday, July 3, 2016 10:16 PM, Alan J Rosenthal <flaps at 56789.ca> wrote:
>    i=$1
>    while echo $i; i=`expr $i + 1`; test $i -lt 5
>    do
>        :
>    done


More information about the u-u mailing list