#!/bin/csh -f # Open the specified files in the Firefox browser. # -n = New instance of the browser, even if another instance is already open. # -W = Wait till browser exits before proceeding. # -a = Application to open # :q = Quote each incoming arg in case it contains embedded spaces and such. #(set echo; open -n -W -a '/Applications/Firefox.app' --args $*:q) open -n -a '/Applications/Firefox.app' --args $*:q #?? Alternative approach, if ever needed for Mac. #ffw $*:q &