I've cc'd to the Debian BTS.

Mònica Ramírez Arceda <[email protected]> writes:

> The original submitter of this bug has sent an argument to Debian BTS. I
> forward our dialog: 
[...]
> XMLStarlet should be fixed in one way or the other, so that at least
> one of the following works, i.e. gives a line with "a" followed by a
> tab character followed by "b":
>
> $ echo '<root/>' | xml sel -T -t -v "'a$(printf \\t)b'" -n
> $ echo '<root/>' | xml sel -T -t -v "'a&#9;b'" -n
>
> Currently the former command gives: "a b" (with a space).

Ah, that is a wrinkle I overlooked. Fortunately, the first command does
give a tab in version 1.1.0 since in that version the stylesheet xml
tree is built directly in memory instead of parsing it from a string.

Noam



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to