bash increment in a given way

John Haxby john.haxby at gmail.com
Sat Dec 11 16:50:34 UTC 2010


On 11 December 2010 14:34, S Mathias <smathias1972 at yahoo.com> wrote:

>
> but what's the "magic" for this? :
>
> $ 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
> $
>
>
for i in 0 1 4 5 8 9; do ....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20101211/2818ab98/attachment.html 


More information about the users mailing list