Initial data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 72d218235f
commit f23f22d71c
199087 changed files with 3378941 additions and 0 deletions

View file

@ -0,0 +1,3 @@
for file in *.sh; do
echo "filename is $file"
done

View file

@ -0,0 +1,8 @@
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin
oldifs=$IFS
IFS=:
for dir in $PATH; do
echo search $dir
done
IFS=$oldifs

View file

@ -0,0 +1,4 @@
collection=("first" "second" "third" "fourth" "something else")
for x in "${collection[@]}"; do
echo "$x"
done

View file

@ -0,0 +1,4 @@
set -A collection "first" "second" "third" "fourth" "something else"
for x in "${collection[@]}"; do
echo "$x"
done