Move under www to ease rsync

This commit is contained in:
2025-10-29 10:51:15 +01:00
parent 2bb22c7583
commit 30ad62e938
890 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
#!/bin/bash
#-------------------------------------------------------------------------------
# Example 2 for Bash Tips show 20: simple use of positional parameters
#-------------------------------------------------------------------------------
#
# This script needs 2 arguments
#
if [[ $# -ne 2 ]]; then
echo "Usage: $0 word count"
exit 1
fi
word=$1
count=$2
#
# Repeat the 'word' 'count' times on the same line
#
for (( i = 1; i <= count; i++ )); do
echo -n "$word"
done
echo
exit