home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / programm / 6017 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.3 KB

  1. Path: sparky!uunet!portal!lll-winken!elroy.jpl.nasa.gov!swrinde!gatech!news.byu.edu!news.mtholyoke.edu!nic.umass.edu!amherst!amherst.edu!mkrogers
  2. From: mkrogers@amherst.edu
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Re: Command-line apps now harder (Can you pass arguments?)
  5. Message-ID: <1992Sep6.100035.1@amherst.edu>
  6. Date: 6 Sep 92 14:00:35 GMT
  7. References: <1992Sep2.141110.19865@pencom.com> <1992Sep4.194248.568@leland.Stanford.EDU> <60105@mimsy.umd.edu>
  8. Sender: usenet@amhux2.amherst.edu (USENET News System)
  9. Organization: Amherst College, Amherst Mass.
  10. Lines: 20
  11. Nntp-Posting-Host: amh.amherst.edu
  12.  
  13. In article <60105@mimsy.umd.edu>, alex@cs.umd.edu (Alex Blakemore) writes:
  14. > In article <1992Sep4.194248.568@leland.Stanford.EDU> cooldude@elaine49.stanford.edu writes:
  15. >> How can you also pass arguments to the application being opened.  e.g, open  
  16. >> bar.app and have it open a file called "foo".  
  17. > open foo.x
  18. > will open the file foo.x using whatever app you've selected
  19. > as the default app for files with suffix x, just as if
  20. > you'ld double clicked it in a Workspace file viewer.
  21.  
  22. Try "open -a bar foo".  You can leave off the .app extension of bar
  23. if it has one.
  24.  
  25. > no extension - and you'll get the default app - probably Edit.
  26.  
  27. This is what happens to me.  I don't know if there's a default
  28. you can dwrite to change this.
  29.  
  30.     -mike rogers
  31.