OSSP CVS Repository

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

Check-in Number: 1957
Date: 2002-Mar-06 16:30:35 (local)
2002-Mar-06 15:30:35 (UTC)
User:rse
Branch:
Comment: remember great idea
Tickets:
Inspections:
Files:
ossp-pkg/var/TODO      1.24 -> 1.25     7 inserted, 0 deleted

ossp-pkg/var/TODO 1.24 -> 1.25

--- TODO 2002/03/06 10:25:32     1.24
+++ TODO 2002/03/06 15:30:35     1.25
@@ -1,5 +1,12 @@
                                OSSP var
 
+ o New feature: allow var_expand (or with a new function
+   based on var_expand like var_printf) to first substitute printf-style
+   %x constructs and then the OSSP var constructs. This allow more
+   flexibility in expanding templates, because one can expand indices
+   and other dynamic stuff into the template inside variable constructs.
+   Think about var_printf("${array[%d]}", i); 
+
  o ./var_play '${HOME:s/$/foo/}' does nothing because
    it seems that internally a zero-size pattern match
    does is not handled correctly.

CVSTrac 2.0.1