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
junk by bcharder
20 days ago
tcl by egavilan
29 days ago
tcl by Stu
31 days ago
tcl by Stu
31 days ago
tcl by oldlaptop
65 days ago
tcl by oldlaptop
65 days ago
tcl by Molnija Bjornsson
70 days ago
tcl by Molnija Bjornsson
70 days ago
tcl by zmoment
70 days ago
tcl by zmoment
70 days ago
Submit
New paste
Documentation
From Jabber