On 04/23/10 15:55, ed-rfmd wrote:
$boot_time = generate('/usr/bin/env', '/bin/date', '+%H:%m')
notice("boot_time => $boot_time")
$boot_hour = regsubst($boot_time,'^([0-9]+)[:]([0-9]+)\n','\1')
notice("w newline - boot_hour => |$boot_hour|")
$boot_hour_1 = regsubst($boo
I am attempting to set some variables in my manifest and I amd seeing
a result I don't quite understand. Here is a section of code from my
manifest:
$boot_time = generate('/usr/bin/env', '/bin/date', '+%H:%m')
notice("boot_time => $boot_time")
$boot_hour = regsubst($boot_time,'^([0-9]