Move under www to ease rsync
This commit is contained in:
11
www/eps/hpr2689/hpr2689_bash14_ex5.sh
Executable file
11
www/eps/hpr2689/hpr2689_bash14_ex5.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
#
|
||||
# A demonstration that anything that generates a list of words or numbers can
|
||||
# be used in a 'for' loop
|
||||
#
|
||||
|
||||
for w in $(grep -E -v "'s$" /usr/share/dict/words | shuf -n 10); do
|
||||
echo "$w"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user