Blob
1 #!/bin/sh3 plumb1()4 {5 case $BROWSER in6 # Other browsers here7 # ...8 *opera*)9 $BROWSER -remote 'openURL('$i', new-page)'10 ;;11 *firebird*)12 $BROWSER -remote 'openURL('$i', new-window)'13 ;;14 *firefox*)15 $BROWSER -remote 'openURL('$i', new-tab)'16 ;;17 esac18 }20 if [ $# = 0 ]21 then22 plumb1 about:blank23 else24 for i25 do26 if [ -f "$i" ]27 then28 p=`pwd`29 i=`cleanname -d $p $i`30 i=file://$i31 fi32 plumb1 $i33 done34 fi36 case $BROWSER in37 *opera*)38 $BROWSER -remote 'raise()'39 esac