#!/bin/csh -f # Open the specified files in the Safari browser. # -n = New instance of the browser, even if another instance is already open. # -a = Application to open # :q = Quote each incoming arg in case it contains embedded spaces and such. ## No. Don't use -n. It recently started opening Firefox as well as ## Safari for some reason. Perhaps because I made Firefox the default ## web browser? Same problem does NOT occur with -n when opening Chrome. ## That opens Chrome only, not also Firefox. Huh? ## Seems to not be needed anyhow, since it always opens a new window ## anyhow, not just a new tab. Good! ## --Fred 5/24/2021 ##open -n -a '/Applications/Safari.app' $*:q open -a '/Applications/Safari.app' $*:q