File: run_divide2

package info (click to toggle)
paexec 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 904 kB
  • sloc: sh: 3,435; ansic: 1,959; makefile: 174; pascal: 19
file content (19 lines) | stat: -rwxr-xr-x 240 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env sh

# The same as "run" but with non-standard "success",
# "failure" and "eot" strings.

paexec -ms='Ura!' -mf='Zhopa!' -mt='Konec!' \
    -s -l -c cmd_divide2 -n +3 <<EOF
1 2
2 3
3 4
4 5
5 0
0 7
7 8
8 9
5 10
10 11
11 12
EOF