summaryrefslogtreecommitdiffhomepage
path: root/bench/pipeline.sh
blob: 0017297f4e334c9e325607a558d5d72fe6ddee73 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# Small pipelines and substitutions of pipelines, as scripts write them.
i=0
while [ $i -lt 1000 ]; do
    x=$(echo "name=$i" | cut -d= -f2)
    echo "$x" | cat >/dev/null
    i=$((i + 1))
done
echo $x