🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #753

Re: Command-line apps now harder (Can you pass arguments?)

#753
From: Alex Blakemore
Date: Sat, 05 Sep 1992 03:47
15 lines
1046 bytes
In article <1992Sep4.194248.568@leland.Stanford.EDU> cooldude@elaine49.stanford.edu writes:
> How can you also pass arguments to the application being opened.  e.g, open  
> bar.app and have it open a file called "foo".  

open foo.x

will open the file foo.x using whatever app you've selected
as the default app for files with suffix x, just as if
you'ld double clicked it in a Workspace file viewer.

no extension - and you'll get the default app - probably Edit.

-- 
---------------------------------------------------
Alex Blakemore alex@cs.umd.edu   NeXT mail accepted
Technical Details
Message-ID: <60105@mimsy.umd.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!mimsy!alex
References: <1992Sep2.141110.19865@pencom.com> <1992Sep4.194248.568@leland.Stanford.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!mimsy!alex
From: alex@cs.umd.edu (Alex Blakemore)
Newsgroups: comp.sys.next.programmer
Subject: Re: Command-line apps now harder (Can you pass arguments?)
Message-ID: <60105@mimsy.umd.edu>
Date: 5 Sep 92 03:47:36 GMT
References: <1992Sep2.141110.19865@pencom.com> <1992Sep4.194248.568@leland.Stanford.EDU>
Sender: news@mimsy.umd.edu
Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742
Lines: 15