On 17/02/12 11:24, Biltong wrote:
> I can't see what I am doing wrong. Can anyone help?
>
> $ cat /tmp/web.xml
> <?xml version="1.0" encoding="ISO-8859-1"?>
[snip]
> augtool> print /augeas/files/tmp/web.xml/error
> /augeas/files/tmp/web.xml/error = "parse_failed"
> /augeas/files/tmp/web.xml/error/pos = "43"
> /augeas/files/tmp/web.xml/error/line = "1"
> /augeas/files/tmp/web.xml/error/char = "43"

Does the file have Windows/DOS style line endings?  Try dos2unix?

-- 
Dominic Cleal
Red Hat Consulting
m: +44 (0)7817 878113

_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to