First batch of extra files

This commit is contained in:
2025-10-28 18:39:57 +01:00
parent d8c35077cb
commit 2bb22c7583
890 changed files with 40738 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
#!/bin/bash
#-------------------------------------------------------------------------------
# Example 3 for Bash Tips show 19: using 'read' to fill an array
#-------------------------------------------------------------------------------
#
# Create an indexed array
#
declare -a readtest
#
# Populate it with space separated words on one line using 'echo -n' to force
# that to happen
#
read -r -a readtest < <(for c in {A..J}{1..3}; do echo -n "$c "; done)
#
# The result
#
echo "readtest: ${#readtest[*]} elements"
echo "readtest: ${readtest[*]}"
exit