On Mon, 16 Dec 2002, Ashley M. Kirchner wrote:

> # LOOP through the following directories
> for fs in root etc boot yp mysql apache mail home ; do
>   # LOOP through the 13 (latest) days of the backup
>   for ((idx=13 ; idx >= 2; idx--)) ; do


for idx in $(seq 13 -1 2); do
   ... whatever ...
done



$ man seq

one of the handiest commands you've never heard of.

rday



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to