[OT] Which IDE / Editor do you use?

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Sun Sep 15 02:52:34 PDT 2013


On Sun, 15 Sep 2013 11:38:09 +0200
Jacob Carlborg <doob at me.com> wrote:

> On 2013-09-14 10:23, Nick Sabalausky wrote:
> >
> > While I definitely prefer bash to the windows prompt overall, there
> > are some places where I think windows makes the linux cmdline look
> > bad. Like launching a GUI program instead of a CLI:
> >
> > Windows (nice):
> > % program-cli file.txt
> > % program-gui file.txt
> >
> > Linux (wtf?!):
> > % program-cli file.txt
> > % program-gui file.txt >/dev/null 2>%1 &
> 
> On Mac OS X I usually use "open" command to open a file in the
> default application.
> 
> $ open file.txt
> 

Windows actually does the same thing, except the filename *is* the
command:

$ file.txt

And yea, either way, "open file.txt" or "file.txt", it is kinda nice.
Although I find I use it very rarely, oddly enough.


> Or I can explicitly specify the application:
> 
> open -a /Applications/TextEdit.app foo.txt
> 

Hmm. What's the benefit over just doing this?:

$ /Applications/TextEdit.app foo.txt



More information about the Digitalmars-d mailing list