(
echo Path: "$PATH_SUFFIX"
- cat $MNG_ROOT/etc/added-headers | grep ': '
+ perl <$MNG_ROOT/etc/added-headers -ne '
+ next unless m/\:/;
+ s/\[REFERENCE\]/[$ENV{"WEBSTUMP_MESSAGENUM"}]/g
+ if defined $ENV{"WEBSTUMP_MESSAGENUM"};
+ print or die $!;
+ '
# I do grep above because a lot of users inserts empty
# lines in the added headers.