On 2008-11-14 10:12:22 -0800, Jordan Hubbard wrote: > JFYI, but to correct a misapprehension here, open does take arguments > (for the launched process) so your original idea would have also worked
Here (10.4.11) "open" doesn't take arguments: prunille:~> open -a /Applications/MacPorts/Emacs.app -nw foo 2008-11-15 03:22:26.754 open[4228] No such file: /Users/vinc17/-nw > if you had used a shell function instead of an alias and passed the args > through with $* HTH No, do *not* use $* as arguments with spaces would be passed incorrectly with bash (and other POSIX shells): sh-2.05b$ e() { echo $*; } sh-2.05b$ e "a b" a b BTW, arguments with spaces occur much more often under Mac OS X than under other Unix systems. Using "$@" (with the quotes) is the correct way, but an alias does something equivalent. -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon) _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users