[X-Unix] "open" command syntax?

Aaron macuser at aarons.fastmail.fm
Fri Jan 13 17:48:15 PST 2006


The following works for me with tcsh in 10.3.9:

>alias safari osascript -e \'tell application \"safari\" to open location \"\!\$\"  \'

With that,

>safari http://apple.com

opens  apple.com in safari.

Of course, it's only useful if you put the alias command in your ~.tcshrc file (or ~.cshrc, if you don't have a ~.tcshrc)!

 - Aaron


More information about the X-Unix mailing list