From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.strozzi.it ([80.105.103.166]) by hawkwind.utcs.toronto.edu with SMTP id <9416>; Wed, 27 Mar 2002 18:08:03 -0500 Received: from carlos by mail.strozzi.it with local (Exim 3.12 #1 (Debian)) id 16qKiY-0001Db-00; Wed, 27 Mar 2002 22:12:26 +0100 Date: Wed, 27 Mar 2002 16:12:26 -0500 From: Carlo Strozzi To: rc@hawkwind.utcs.toronto.edu Subject: Re: rc 1.6 $version Message-ID: <20020327221226.A25153@strozzi.it> Mail-Followup-To: Carlo Strozzi , rc@hawkwind.utcs.toronto.edu References: <20020314223715.003CB3F40B@quanstro.net> <20020327132716.23114.qmail@happy.star.le.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020327132716.23114.qmail@happy.star.le.ac.uk>; from tjg@star.le.ac.uk on Wed, Mar 27, 2002 at 08:27:16AM -0500 Organization: ScriptaWorks.COM On Wed, Mar 27, 2002 at 08:27:16AM -0500, Tim Goodwin wrote: > > is there any way that $version could be changed either > > to not be so magic (i.e. assigned at startup time) or > > better something like _rc_version_. > > The `version' variable was introduced in rc-1.6b1 (replacing the `-V' > flag, which itself was new in rc-1.5b4). Thus, it's never been in a > full release. Thus, I'm prepared to change it :-). > > Any objections to `rc_version'? rc already has a few reserved variable names, like $pid, $bqstatus, $status, and so on. Others, like $version, could be added in the future. It would be nice to have a naming-convention for reserved names, so that one knows in advance what names should be left alone. The proposed `rc_version' is ok, and my suggestion is to set the `rc_' prefix aside for rc reserved variables. We would then have rc_path, rc_home, rc_whatever. Of course, for backward compatibility we will continue to have also $pid, $path and that, but from now on there whould at least be a standard for any new rc needs, and that could be documented in the man page. Since rc supports 'funny' characters in names, the reserved ones could even be 'rc.something', so that they are even more peculiar. Just my two-cent. bye, carlo -- For easier reading please set the Courier font. Messages larger than 30 KB may not receive immediate attention. Freedom for Business: http://swpat.ffii.org