Anonymous | Login | 2024-05-04 01:56 CEST |
Main | My View | View Issues |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
0003895 | [xmlto] regular use | major | always | 2009-09-14 14:56 | 2009-10-07 20:56 | ||
Reporter | dam | View Status | public | ||||
Assigned To | bwalton | ||||||
Priority | normal | Resolution | fixed | Platform | |||
Status | closed | OS | |||||
Projection | none | OS Version | |||||
ETA | none | Product Build | |||||
Summary | 0003895: xmlto calls 'tail' with wrong path | ||||||
Description | /opt/csw/bin/xmlto calls 'tail' with '-n 1' instead of '-1'. The options would be valid for /usr/xpg4/bin/tail, though. | ||||||
Steps To Reproduce |
build8s% /opt/csw/bin/xmlto -vv man colordiff.xml usage: tail [+/-[n][lbc][f]] [file] tail [+/-[n][l][r|f]] [file] Source format: docbook / root element: Format script: /opt/csw/share/xmlto/format/docbook/man Convert to troff Real stylesheet: http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl [^] |
||||||
Additional Information |
This would fix the problem: build8s% diff /opt/csw/bin/xmlto /opt/csw/bin/xmlto.orig 354c354 < rootel=$(echo "xpath *" | xmllint --shell $INPUT_FILE 2> /dev/null |head -n 3 |/usr/xpg4/bin/tail -n 1 | cut -f 4 -d " " ) --- > rootel=$(echo "xpath *" | xmllint --shell $INPUT_FILE 2> /dev/null |head -n 3 |tail -n 1 | cut -f 4 -d " " ) |
||||||
Tags | No tags attached. | ||||||
Attached Files | |||||||
|
Copyright © 2000 - 2008 Mantis Group |