11 May
2017
11 May
'17
7:31 a.m.
On Wed, May 10, 2017 at 10:34:19PM -0700, Evan Rempel wrote:
$(padding <macro> <prepended characters>)
but the examples show a length argument
$(padding $MESSAGE 10 X): bar would produce a result of XXXXXXXbar
I think the doc is somewhat wrong. Here's what we use for example in our patterndb: <value name='hpss.msg_id'>${hpss.subsystem}$(padding "${hpss.message_num}" "4" "0")</value> And in the example: hpss.subsystem: 'PVLS' hpss.message_num: '100' hpss.msg_id: 'PVLS0100'