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 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: 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

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论