Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,15 @@
recurse()
{
# since the example runs slowly, the following
# if-elif avoid unuseful output; the elif was
# added after a first run ended with a segmentation
# fault after printing "10000"
if [[ $(($1 % 5000)) -eq 0 ]]; then
echo $1;
elif [[ $1 -gt 10000 ]]; then
echo $1
fi
recurse $(($1 + 1))
}
recurse 0