File: yeller.bash

package info (click to toggle)
python-pyflow 1.1.20-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 996 kB
  • sloc: python: 4,154; sh: 219; ansic: 15; makefile: 5
file content (16 lines) | stat: -rwxr-xr-x 285 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash

if [ $# != 1 ]; then
    echo "usage $0 arg"
    exit 1
fi
arg=$1

pid=$$
echo pid: $pid arg: $arg starting yell
for i in {1..100}; do
    echo "Yeller $pid yellin $i stdout"
    echo "Yeller $pid yellin $i stderr" 1>&2
done
echo pid: $pid arg: $arg ending sleep