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,21 @@
#!/bin/bash
#
# Read a reply from the user, then check it's not zero length
#
read -r -p "Please enter a string: " reply
if [[ ${#reply} -eq 0 ]]; then
echo "Please provide a non-empty reply"
else
echo "You said: $reply"
fi
#
# Read a reply from the user, then check it's not zero length
#
read -r -p "Please enter a string: " reply
if [[ -z $reply ]]; then
echo "Please provide a non-empty reply"
else
echo "You said: $reply"
fi