14 lines
196 B
Bash
14 lines
196 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
DATAFILE=/tmp/fake-datafile
|
||
|
|
||
|
> ${DATAFILE}
|
||
|
for s in $(seq 0 20)
|
||
|
do
|
||
|
|
||
|
v=$(./fake-values 2> /dev/null)
|
||
|
echo $s $v | tee -a ${DATAFILE}
|
||
|
done
|
||
|
|
||
|
awk '{print "> " $2}' < ${DATAFILE}
|