File: display_script

package info (click to toggle)
acedb 4.9.39%2Bdfsg.02-9
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 33,948 kB
  • sloc: ansic: 256,972; perl: 2,803; cpp: 2,534; csh: 1,712; python: 862; sh: 658; makefile: 299; awk: 249; lex: 225; yacc: 221
file content (16 lines) | stat: -rw-r--r-- 387 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $Id: display_script,v 1.3 2000/10/03 11:33:41 srk Exp $ 
# The worm database seems to be schizoid about weather to include
# the .jpeg extension or not, so we cover all the bases.

if [ -e $ACEDB/pictures/$1 ] 
then
  xv $ACEDB/pictures/$1 &
fi

if [ -e $ACEDB/pictures/$1.jpeg ] 
then
  xv $ACEDB/pictures/$1.jpeg &
fi

# You may want to use the -8, -perfect, -rw -nolimits options