Hi,
why there is a trailing newline in e.g. the following example when I use -n:
user@localhost:~% f(){ cat <<EOF <a\> <b x="1"/\> <b x="2"/\> </a\> EOF } user@localhost:~% f | xml sel -t -m "/a/b/@x" -v . -n 1 2 <---I mean this line user@localhost:~%
Thanks!
Kind Regards Thomas
just found out the solution If you add -T (--text) then the newline disappears
Log in to post a comment.
Hi,
why there is a trailing newline in e.g. the following example when I use -n:
Thanks!
Kind Regards
Thomas
Last edit: rainpumped 2015-03-05
just found out the solution
If you add -T (--text) then the newline disappears