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

Re: bash increment in a given way



S Mathias wrote:

> $ MAGIC; do echo "Welcome $i times"; done
> Welcome 0 times
> Welcome 1 times
> Welcome 4 times
> Welcome 5 times
> Welcome 8 times
> Welcome 9 times
> $
> 
> thanks:\


for i in 0 1 4 5 8 9; do "elcome $i times"; done

--
Chris Jackson
Shadowcat Systems Ltd.


Reply to: