Why are you capitalizing your variable?

$SECONDS seems to be a predefined builtin.


echo $SECONDS


from a shell where $SECONDS has never been exported gives some interesting results both in bash and zsh. In this case, $SECONDS is being initialized to 0, and it begins counting the seconds from the time it was initialized, which is why it actually shows the number of seconds that the quiz took even though there was no code to count the seconds. Hope this helps.

~Kyle

_______________________________________________
Blinux-list mailing list
Blinux-list@redhat.com
https://listman.redhat.com/mailman/listinfo/blinux-list

Reply via email to