Maybe you can tell me where in the Perl documentation you found the sed command?
As a next step, I would recommend that you add comments indicating where you wrote the code that you think implements the steps I outlined for you to undertake.
Also, it often helps us to help you better if you also tell us what the error message is, possibly together with the input data.
In reply to Re: Re Replacing duplicate string
by Corion
in thread Replacing duplicate string
by ddrew78
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |