tag:blogger.com,1999:blog-1522728893839433777.post6332107275430108177..comments2013-05-20T01:34:05.286-07:00Comments on Some stuff about computers: The expr commandAnonymoushttp://www.blogger.com/profile/04010109121530888382noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-1522728893839433777.post-37611773964792582482013-05-20T01:34:05.286-07:002013-05-20T01:34:05.286-07:00Thank you for the info. This doesn't work with...Thank you for the info. This doesn't work with korn shell though.Anonymoushttps://www.blogger.com/profile/04010109121530888382noreply@blogger.comtag:blogger.com,1999:blog-1522728893839433777.post-7606876681133567442013-05-19T09:08:26.582-07:002013-05-19T09:08:26.582-07:00For Bash shell, there is no need to use expr
you...For Bash shell, there is no need to use expr<br /><br />you can simply use :<br /><br />$(( 80 / 25 ))<br />or<br />$[ 80 / 25 ]<br /><br />example:<br />$ var=$[ 80 / 25 ]<br />$ echo $var<br />3<br />Anonymoushttps://www.blogger.com/profile/04361453146021733736noreply@blogger.com