xwiki - cannot get "\"while reading an xml file -
i'm trying read xml page of xwiki line line when read line:
[[3.2.2>>doc:3\.2\.2]]
it returns just
[[3.2.2>>doc:3.2.2]]
any ideas why ignores \
.
so have xwiki page localpäge.xml :
<?xml version="1.0" encoding="utf-8" standalone="yes"?><page xmlns="http://www.xwiki.org"><content> ====[[projects>>webhome]]/[[scv>>scv]]/composant1==== |=release|=date |[[3.3.3>>doc:3\.3\.3]]|2015-06-25:14:23:20 </content> </page>
what i'm doing
while read echo "$i">>pagetosend.xml done < localpage.xml
in pagetosend.xml instead of having
|[[3.3.3>>doc:3\.3\.3]]|2015-06-25:14:23:20
i have
|[[3.3.3>>doc:=3.3.3]]|2015-06-25:14:23:20
and want keep famous "\" .
Comments
Post a Comment