http://qs1969.pair.com?node_id=1022772


in reply to Re^3: Find pieces of text in a file enclosed by `@` and replace the inside
in thread Find pieces of text in a file enclosed by `@` and replace the inside

Hi Ken, tested your code, but got an error on the second word surrounded by '@'. Error: panic: sv_pos_b2u: bad byte offset at .....etc.
  • Comment on Re^4: Find pieces of text in a file enclosed by `@` and replace the inside

Replies are listed 'Best First'.
Re^5: Find pieces of text in a file enclosed by `@` and replace the inside
by kcott (Archbishop) on Mar 11, 2013 at 15:57 UTC

    I provided this as "a commandline example". It works fine with my computer. You stated, in response to my last post, that you have an issue with Cyrillic characters on your machine; however, you have neither updated your OP with this information nor addressed how you were planning to view the expected (Cyrillic) output. I am unable to reproduce the problem you're experiencing on your "sco-6 machine".

    -- Ken

      Hi Ken, you are right about not updating my OP. But I got your solution working now. My mistake. Thanks