17.12.1. kstrto

Convert a string to an integer:

./kstrto.sh
echo $?

Outcome: the test passes:

0

Sources: