Skip to content

Instantly share code, notes, and snippets.

@SGINJ
Created March 21, 2024 11:55
Show Gist options
  • Select an option

  • Save SGINJ/dd5fbb744b7e2e5adc7928826958d94c to your computer and use it in GitHub Desktop.

Select an option

Save SGINJ/dd5fbb744b7e2e5adc7928826958d94c to your computer and use it in GitHub Desktop.
foo.sh
#!/bin/ash
echo "begin allocating memory..."
for index in $(seq 1000); do
value=$(seq -w -s '' $index $(($index + 100000000)))
eval array$index=$value
done
echo "...end allocating memory"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment