Modulo calculation in shell script

Shell Programming and Scripting

Kindly Note - This is a Single User Post by Forum Member theboogymaster Regarding:
Modulo calculation in shell script.
Please Follow The Primary Link Above to View the Full Discussion.

Old 03-21-2011
theboogymaster's Unix or Linux Image
theboogymaster theboogymaster is offline
Registered User
Join Date: Sep 2009
Last Activity: 21 September 2017, 12:05 PM EDT
Posts: 56
Thanks: 7
Thanked 7 Times in 7 Posts
When you compare values in bash use the (-eq) thing with the integers, and the (==) if you have strings...