File: terminal_wrapper.sh

package info (click to toggle)
worker 5.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,444 kB
  • sloc: cpp: 133,098; sh: 5,543; yacc: 1,649; makefile: 791; lex: 279; python: 85; xml: 45
file content (18 lines) | stat: -rwxr-xr-x 138 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh

if [ "$#" -lt "3" ]; then
    exit 1
fi

f1="$1"
f2="$2"
shift
shift

/bin/sh "$@"
res=$?

rm -- "$f1"
rm -- "$f2"

exit $res