Colin S. Miller <[EMAIL PROTECTED]> wrote:
> for (( a=0 ; $a \< 10 ; a++ )) ;do date -d "5 april 2005 $a days";done
> Tue Apr  5 00:00:00 BST 2005
> [...]

Nice trick, that '$a days' thing.

The preamble could have been a bit shorter, though:

 seq 10 | while read a; do date -d "5 april 2005 $a days"; done

Regards,
Andre'
_______________________________________________
help-gnu-utils mailing list
help-gnu-utils@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-utils

Reply via email to