open -p doesn't work...

ian

Registered
I've been trying to do open -p commands on my Mac, but so far it's failing.

[localhost:~] me% open -p see
Sep 07 23:59:23 open[535] No such file: /Users/me/-p
Sep 07 23:59:23 open[535] LSOpenFromURLSpec() returned -10814 for application (null) path /Users/me/see.
Sep 07 23:59:23 open[535] Couldn't open file: /Users/me/see

From the man pages, the p flag says to 'print' out the contents instead of launching the application. The thing about the open app is that it actually recognizes flags as the target file! Any workaround?
 
Back
Top