27.08.2015 Views

Advanced Bash−Scripting Guide

Advanced Bash-Scripting Guide - Nicku.org

Advanced Bash-Scripting Guide - Nicku.org

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Advanced</strong> <strong>Bash−Scripting</strong> <strong>Guide</strong><br />

# Using a digit out of range of the specified base notation<br />

#+ will give an error message.<br />

let "bad_oct = 081"<br />

# numbers.sh: let: oct = 081: value too great for base (error token is "081")<br />

# Octal numbers use only digits in the range 0 − 7.<br />

exit 0<br />

# Thanks, Rich Bartell and Stephane Chazelas, for clarification.<br />

Chapter 8. Operations and Related Topics 62

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!