File: REGRESS

package info (click to toggle)
original-awk 2018-08-27-1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 7,172 kB
  • sloc: ansic: 5,074; yacc: 407; awk: 65; makefile: 63; sh: 23
file content (20 lines) | stat: -rwxr-xr-x 270 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh

if [ -d testdir ]
then
	true	# do nothing
elif [ -f awktest.tar ]
then
	echo extracting testdir
	tar -xpf awktest.tar
else
	echo $0: No testdir directory and no awktest.tar to extract it from! >&2
	exit 1
fi

cd testdir
pwd
PATH=.:$PATH
export PATH

REGRESS