Also, /.*rrd$/ will match both of the strings "rrd" and "rrd\n" so perhaps you should use /.*rrd\z/ instead.
Or perhaps even: 'rrd' eq substr( $_, -3 )
In reply to Re^3: Resizing MRTG (RRDTool) logs en-masse
by jwkrahn
in thread Resizing MRTG (RRDTool) logs en-masse
by McDarren
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |