[EMAIL PROTECTED] wrote:
I can put the script to gether and cron it, but what's the best way to
change a char in an XML file?

Pipe it through "sed s/Æ/\'/g" .

That is actually a two byte character so you cannot use 'tr'.

e.g.

/usr/bin/tv_grab_uk_rt --config-file /root/.mythtv/uk_rt.xmltv 2>/dev/null \
|/bin/sed s/Æ/\'/g \
|/usr/bin/mythfilldatabase --no-delete --update --file 1 -1 - 2>/dev/null

--
        Charlie Brej
APT Group, Dept. of Computer Science, University of Manchester
Web: http://brej.org/                 Tel: +44 (0)161 275 6177
Mail: IT303, University of Manchester, Manchester, M13 9PL, UK
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to