Learn about Centmin Mod LEMP Stack today
Register Now

Need some help - sed/grep/regex ?

Discussion in 'System Administration' started by ModeltogTossen, Feb 17, 2016.

  1. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    5:27 PM
    1.9.12
    10.0.23
    Hello all gurus..

    So - Xenforo have this big language. This file is to be translated for us folks who is not native english.

    Now - I have one issues with a add-on not post the translated phrases. I think there is a not closed phrases somewhere in my language file. The phrase line looks like this:

    PHP:
    <phrase title="margin" addon_id="XenForo" version_id="1000016" version_string="1.0.0 Alpha 6"><![CDATA[Margin]]></phrase>
    What I wish is - are there someone who can offer me the correct way to search the whole text file for a missing [ or ] in til [CDATA part of the phrase sting?

    Thanks in advance for your participate..