File: exists.sh

package info (click to toggle)
cssc 0.14alpha.pl0-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,796 kB
  • ctags: 1,404
  • sloc: cpp: 12,927; sh: 3,617; ansic: 3,000; perl: 342; makefile: 334; awk: 11
file content (14 lines) | stat: -rw-r--r-- 219 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh

# exists.sh:  What if the input file doesn't exist?

# Import common functions & definitions.
. ../common/test-common

s=s.testfile

remove $s
docommand e1 "${prt} $s" 1 "IGNORE" "IGNORE"
remove $s

success