conditional wrapper script
Posted to
tcl
by Bradipo at Mon Apr 19 22:44:49 GMT 2010
view raw
#!/bin/sh
# \
if
test -f
$HOME
/.approfile;
then
exec tclsh "
$0
"
${1+"$@"}
;
else
exec /some/other/app "$@"; fi
Recent Posts
tcl by Only 1 Shortlink Par
57 mins ago
tcl by oldlaptop
11 days ago
tcl by mookie
17 days ago
tcl by dandyn
24 days ago
tcl by Bradipo
24 days ago
tcl by Bradipo
24 days ago
tcl by oldlaptop
49 days ago
tcl by oldlaptop
49 days ago
tcl by mookie
54 days ago
tcl by mookie
54 days ago
Submit
New paste
Documentation
From Jabber