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 />

#+ an operation that feeds its output back into the input.<br />

# Sometimes the result is a "chaotic" series.<br />

MAX_ITERATIONS=200<br />

# For large seed numbers (>32000), increase MAX_ITERATIONS.<br />

h=${1:−$$}<br />

# Seed<br />

# Use $PID as seed,<br />

#+ if not specified as command−line arg.<br />

echo<br />

echo "C($h) −−− $MAX_ITERATIONS Iterations"<br />

echo<br />

for ((i=1; i

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

Saved successfully!

Ooh no, something went wrong!