From: Filipe F. <ffe...@gm...> - 2013-01-24 19:37:02
|
On Wed, Jan 23, 2013 at 9:31 PM, Noam Postavsky < npo...@us...> wrote: > > mawk wants a different number of backslashes than gawk to output a > backslash in gsub(). After taking a short look at [1] I decided I really > don't want to know why, so I've rewritten usage2c.awk to avoid > backslashes in gsub(). Please try the latest git (e9cd8843cb1f27). > > [1] http://www.gnu.org/software/gawk/manual/html_node/Gory-Details.html > Thanks Noam for the quick reply, It got me further along... but there appears to be another hiccup... $ make make all-am make[1]: Entering directory `/home/ffernand/src/.interest/xmlstar' CC src/trans.o version.h: #define VERSION "1.4.2-2-ge9cd884" CC src/xml.o CC src/xml_C14N.o CC src/xml_depyx.o CC src/xml_edit.o CC src/xml_elem.o CC src/xml_escape.o CC src/xml_format.o CC src/xml_ls.o src/xml_ls.c: In function ‘xml_print_dir’: src/xml_ls.c:140:9: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] CC src/xml_pyx.o CC src/xml_select.o CC src/xml_trans.o CC src/xml_validate.o GEN src/usage.c CC src/usage.o GEN src/c14n-usage.c CC src/c14n-usage.o GEN src/depyx-usage.c CC src/depyx-usage.o GEN src/edit-usage.c CC src/edit-usage.o GEN src/elem-usage.c CC src/elem-usage.o GEN src/escape-usage.c CC src/escape-usage.o GEN src/format-usage.c CC src/format-usage.o GEN src/ls-usage.c CC src/ls-usage.o GEN src/pyx-usage.c CC src/pyx-usage.o GEN src/select-usage.c CC src/select-usage.o GEN src/trans-usage.c CC src/trans-usage.o GEN src/unescape-usage.c CC src/unescape-usage.o GEN src/validate-usage.c CC src/validate-usage.o CCLD xml make[1]: *** No rule to make target `doc/xmlstarlet.1', needed by `all-am'. Stop. make[1]: Leaving directory `/home/ffernand/src/.interest/xmlstar' make: *** [all] Error 2 I'm taking a look myself as I try to trace through the all-am target... but I thought I'd mention it in-case it was obvious to you. thanks, filipe |