Or if you use bash shell in your terminal window, which is the
default, you could set up a bash alias like this:
alias te=/Applications/TextEdit.app/Contents/MacOS/TextEdit
And then use it like this:
te file
The problem is that there isn't any guarantee, as far as I'm aware,
that the application inside a .app bundle will respond to any command-
line arguments. Opening files from the command-line is what the
'open' command is for -- there's no need to reinvent this functionality.
All the best,
Norman
--
Norman Gray : http://nxg.me.uk
Physics and Astronomy, University of Leicester
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden