I would like to treat a number with leading zero as a decimal with the least effort so I intend to use the following syntax:
x=08y=$(( 10#$x - 1 ))
Will the following syntax work on ksh88?
Aucun commentaire:
Enregistrer un commentaire