summaryrefslogtreecommitdiff
blob: 511e19c490cf9191e828f2aa0efbf37b604aa8ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

E3=/usr/bin/e3
whichE3=${E3}em

if [ -f ${E3} ]; then
	if [ -f ${whichE3} ]; then
		if [ $# -eq 0 ]; then
			${whichE3}
		else
			for i in $@
			do
				${whichE3} $i
			done
		fi
	else
		echo ${whichE3}: file does not exist
	fi
else
	echo "${E3}: file does not exist"
fi