From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay.cs.toronto.edu ([128.100.1.105]) by hawkwind.utcs.toronto.edu with SMTP id <2751>; Sat, 17 Apr 1993 08:38:01 -0400 Received: from xenitec.on.ca ([142.77.5.3]) by relay.cs.toronto.edu with SMTP id <150176>; Sat, 17 Apr 1993 08:37:48 -0400 Received: from golem by xenitec.xenitec.on.ca id aa13850; 17 Apr 93 8:35 EDT To: Byron Rakitzis cc: rc@hawkwind.utcs.toronto.edu Subject: Re: rc 1.5 In-reply-to: Your message of "Fri, 16 Apr 93 18:21:39 EDT." <9304162221.AA25866@netapp.netapp.com> Date: Sat, 17 Apr 1993 07:51:55 -0400 From: "David J. Fiander" Message-ID: <9304170751.aa04405@golem.waterloo.on.ca> >That's a good question. I'm hoping to freeze rc. I also don't feel >the need to bring rc "into line" with anything else. So offhand I >would say no. The flag command is present in plan9 rc for a very >specific reason (/lib/rcmain). It's also there so scripts can change flags. I would like to be able to write scripts that turn on the -x flag internally, when their debug flag is specified on the command line. >And I don't want dot to search >my path. [deletion] >and "." is at the end of my path? Does this mean I run /bin/test >as rc input? (THIS IS WHAT /bin/sh ACTUALLY DOES!!) Actually, /bin/sh, /bin/ksh, and the POSIX.2 shell all check the current directory for a file named "test", and _then_ search the path for a file named "test" which is also executable. The reason I would like "." to search the path is that then I can create the directory /usr/bin/rclib, and store scripts in there. Then my scripts can just say . rclib/read to load the read function that I have stored there. - David