Move under www to ease rsync
This commit is contained in:
7
www/eps/hpr2011/hpr2011_demo3.sh
Executable file
7
www/eps/hpr2011/hpr2011_demo3.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
echo "Output file: /tmp/$$"
|
||||
for i in {1..10}; do
|
||||
w=$(shuf -n1 /usr/share/dict/words)
|
||||
w=${w%\'s}
|
||||
echo "$i: $w"
|
||||
done | tee /tmp/$$ | sed -e 'N;1,5D'
|
||||
Reference in New Issue
Block a user