perl -pi -e "s/^(.{13})/$1:/;" -MO=Deparse BEGIN { $^I = ""; } LINE: while (defined($_ = <ARGV>)) { s/^(.{13})/$1:/; } continue { die "-p destination: $!\n" unless print $_; } -e syntax OK
L*
In reply to Re^3: in file insert character in every row on nth position
by Discipulus
in thread in file insert character in every row on nth position
by ukhare
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |