#606827 show how to combine -a <format>s

Package:
uni2ascii
Source:
uni2ascii
Description:
UTF-8 to 7-bit ASCII and vice versa converter
Submitter:
Date:
2010-12-12 01:18:55 UTC
Severity:
normal
#606827#5
Date:
2010-12-11 22:54:48 UTC
From:
To:
At
       -a  <format>  Convert  from  the specified format. Formats may be specified by means of the following
       arbitrary single character codes, by means of names such as "SGML_decimal", and by  examples  of  the
       desired format.

say how to combine options: -a M -a N -a O, or -a MNO, or -aMNO, or
ascii2uni -a M|ascii2uni -a N|ascii2uni -a O

Do the same on the uni2ascii man page.


And the results of our research,

$ wwwoffle -o $@|ascii2uni -a QD > /dev/null
Format specification QD not recognized.
$ wwwoffle -o $@|ascii2uni -a Q -a D > /dev/null
130 tokens converted
$ wwwoffle -o $@|ascii2uni -a D -a Q > /dev/null
0 tokens converted
$ wwwoffle -o $@|ascii2uni -a D |ascii2uni -a Q > /dev/null
130 tokens converted
0 tokens converted
$ wwwoffle -o $@|ascii2uni -a Q |ascii2uni -a D > /dev/null
0 tokens converted
130 tokens converted

are that the only safe way is to use the pipes!