in reply to Re^2: Insert colons into a MAC address
in thread Insert colons into a MAC address
Old Perl Version syndrome, I guess.>perl -wMstrict -le 'my $ma="525400eb8b36"; $ma =~ s/..\K\B/:/g; > print $ma; ' Unrecognized escape \K passed through at -e line 1. 525400eb8b36 >
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Insert colons into a MAC address
by AnomalousMonk (Archbishop) on Jan 14, 2012 at 08:57 UTC |