Okay, I got it. the $(()) works much better than expr. it looks I am outdated. bash is a gnu thing, FSF date is a gnu thing too.

numnum (numnum)
I work on Solaris platform mostly. It looks like GNU stuffs are always better than conventional Unix stuffs. BTW, I'am very happy to meet a guy like you, hope we can keep on. Although I am not doing script programming anymore, the script languages are always my favorite, they are concise and fun.
2001-7-10 -05:00

回到话题: I came across this post in chinasmile. Nobody has answered his question yet. I couldn't figure out a way to do it with shell scripts, although

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论