Displaying 1 result from an estimated 1 matches for "boot_hour".
Did you mean:
boot_hour_1
2010 Apr 23
1
regsubst questions
...es 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]+)[:]([0-9]+)\n'',''\1'')
notice("w newline - boot_hour => |$boot_hour|")
$boot_hour_1 = regsubst($boot_time,''^([0-9]+)[:]([0-9]+)'',''\1'')
notice("w/o newline - boot_hour...