D
Dan Jacobson
How can one live without little old ed(1)'s s///n?
(.,.)s/re/replacement/n
The `n' suffix, where n is a postive number, causes only the nth
match to be replaced.
s/a/A/13p
aaaaaaaaaaaaAaaaaaaa
How can one do s///n in perl without jumping through hoops?
(.,.)s/re/replacement/n
The `n' suffix, where n is a postive number, causes only the nth
match to be replaced.
s/a/A/13p
aaaaaaaaaaaaAaaaaaaa
How can one do s///n in perl without jumping through hoops?