auto-___ (was Re: getcwd() and friends.)

Scott Schwartz schwartz at shire.cs.psu.edu
Tue Apr 18 04:05:44 AEST 1989


In article <1078 at cantuar.UUCP>, greg at cantuar (G. Ewing) writes:
>I guess auto-chdir isn't such a silly idea. On the Mac, you run a program
>by double clicking it, and you open a folder by double-clicking it. You
>can also run a program by double clicking one of its documents. What
>would that correspond to in a shell?

A shell script, of course.  We often have
	#! /bin/sh
for shell scripts, so just use
	#! /usr/new/bin/emacs
for documents, etc.  (What, '#' isn't the universal comment leader?
Sigh....)
-- 
Scott Schwartz		<schwartz at shire.cs.psu.edu>



More information about the Comp.unix.wizards mailing list