[Po4a-commits] po4a/testsuite check,1.7,1.8
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Thu Sep 1 19:41:43 UTC 2005
Update of /cvsroot/po4a/po4a/testsuite
In directory haydn:/tmp/cvs-serv32433
Modified Files:
check
Log Message:
man behavior changed. man -Pcat do not use the font modifiers and
hyphens. => use grog.
groff now uses tabulations in its output => use [[:blank:]] isntead of
just a space.
Index: check
===================================================================
RCS file: /cvsroot/po4a/po4a/testsuite/check,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- check 26 Feb 2005 21:19:43 -0000 1.7
+++ check 1 Sep 2005 19:41:40 -0000 1.8
@@ -61,7 +61,7 @@
mantotxt() {
- man -Pcat -l $1 > $1.txt
+ `grog -Tutf8 $1` > $1.txt
}
podtotxt() { # $1 file to convert ; $2 name to pretend to have
@@ -124,23 +124,23 @@
echo $fich >> LISTE.WOK1
else
awk 'BEGIN{RS=";";ORS=";"}
- {gsub("-\n +",""); # remove hyphen at the end of lines
+ {gsub("-\n[[:blank:]]+",""); # remove hyphen at the end of lines
# this permits to detect some diff due
# to word rewrapping (fails if a word
# containing a hyphen was wrapped)
print}' $tmp/"$newfich"_ignore > $tmp/"$newfich"_ignore2
awk 'BEGIN{RS=";";ORS=";"}
- {gsub("-\n +","");
+ {gsub("-\n[[:blank:]]+","");
print}' $tmp/po4a-normalize.ignore > $tmp/po4a-normalize.ignore2
# the same, but for word wrapped on hyphen.
# This is useful only if there is either word wrapped on
# hyphen or word not wrapped on hyphen. But this may be
# usefull to classify the diff
awk 'BEGIN{RS=";";ORS=";"}
- {gsub("-\n +","-");
+ {gsub("-\n[[:blank:]]+","-");
print}' $tmp/"$newfich"_ignore > $tmp/"$newfich"_ignore2b
awk 'BEGIN{RS=";";ORS=";"}
- {gsub("-\n +","-");
+ {gsub("-\n[[:blank:]]+","-");
print}' $tmp/po4a-normalize.ignore > $tmp/po4a-normalize.ignore2b
echo $fich
echo "$WDIFF $tmp/"$newfich"_ignore2 $tmp/po4a-normalize.ignore2"
@@ -157,14 +157,14 @@
awk '{gsub(".\x08",""); # this hides font diff ?
print}' $tmp/"$newfich"_ignore > $tmp/"$newfich"_ignore3_tmp
awk 'BEGIN{RS=";";ORS=";"}
- {gsub("-\n +","");
+ {gsub("-\n[[:blank:]]+","");
gsub("-","");
print}' $tmp/"$newfich"_ignore3_tmp > $tmp/"$newfich"_ignore3
awk '{gsub(".\x08",""); # this hides font diff ?
print}' $tmp/po4a-normalize.ignore > $tmp/po4a-normalize.ignore3_tmp
awk 'BEGIN{RS=";";ORS=";"}
- {gsub("-\n +","");
+ {gsub("-\n[[:blank:]]+","");
gsub("-","");
print}' $tmp/po4a-normalize.ignore3_tmp > $tmp/po4a-normalize.ignore3
More information about the Po4a-commits
mailing list