OSSP CVS Repository

ossp - Check-in [1688]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1688
Date: 2002-Jan-30 08:53:24 (local)
2002-Jan-30 07:53:24 (UTC)
User:ms
Branch:
Comment: options come from command line and config files, note file globbing, rc.env has no %env section
Tickets:
Inspections:
Files:
ossp-pkg/rc/00TODO      1.10 -> 1.11     4 inserted, 4 deleted

ossp-pkg/rc/00TODO 1.10 -> 1.11

--- 00TODO       2002/01/29 15:35:05     1.10
+++ 00TODO       2002/01/30 07:53:24     1.11
@@ -31,7 +31,7 @@
                 * psoudocode implementation of rc *
                 ***********************************
 
-parse command line options
+parse options
 read and merge all "rc.conf" files
 
 parse "Locate"
@@ -43,8 +43,8 @@
  Locate        ${HOME}/.duerc.%{RCFILE:s/^\///:s/[\/]/-/g}
  Locate        path/file/regex:regex_inside_file
 
-foreach given locate {
-    for each (locate all possible rcfiles working out the regex) {
+foreach locate {
+    for each (locate all possible rcfiles after variable expansion and shell globbing) {
         continue if (absolute path seen previously) //avoid duplicates
         if (filename matches given rcfile && securitycheck(RequireUmask, RequireOwner, RequireGroup))
             load file and grab only a part of the file according to info after colon given in "locate"
@@ -64,7 +64,7 @@
     foreach rcfile {
         script = "";
         script += %config from rcfile
-        script += %env from rc.env and override it
+        script += rc.env and override it
         create_script_for_rcfile(script, section, parent=no)
         expand our internal variables
         execute, print or printeval script with user & group priveleges

CVSTrac 2.0.1