diff -Nru acheck-0.5.2/bash_completion.d/acheck acheck-0.5.4/bash_completion.d/acheck --- acheck-0.5.2/bash_completion.d/acheck 1970-01-01 00:00:00.000000000 +0000 +++ acheck-0.5.4/bash_completion.d/acheck 2003-07-14 18:22:00.000000000 +0000 @@ -0,0 +1,13 @@ +# This is a completion rule, it parses the usage message for commands and +# options through a one-line perl command + +_acheck() +{ + COMPREPLY=() + cur=${COMP_WORDS[COMP_CWORD]} # current word + + COMPREPLY=( $( compgen -W '-q -v -s -n -d -r -t -V -h --quiet --verbose --rules --spell --nospell --dict --review --trans --dump --version --help' -- $cur ) ) + + return 0 +} +complete -F _acheck acheck diff -Nru acheck-0.5.2/debian/changelog acheck-0.5.4/debian/changelog --- acheck-0.5.2/debian/changelog 2015-10-21 04:49:58.000000000 +0000 +++ acheck-0.5.4/debian/changelog 2017-01-04 23:15:03.000000000 +0000 @@ -1,3 +1,33 @@ +acheck (0.5.4) unstable; urgency=medium + + * New maintainer. (Closes: #710151) + * Upload to unstable. See the previous changelog for details. + (Closes: #807723, #821017) + + -- Paulo Henrique de Lima Santana (phls) Wed, 04 Jan 2017 21:15:03 -0200 + +acheck (0.5.3) experimental; urgency=medium + + * QA upload. + * Updated DH level to 10. + * debian/control: + - Bumped Standards-Version to 3.9.8. + - Changed from perl to ${perl:Depends} on Depends field. + * debian/copyright: added authors of debian packages. + * debian/dirs: deleted because it is unnecessary. + * debian/install: created to insert the files on the right + directory. It will solve #807723 when uploaded to Sid. + * debian/manpages: created. + * debian/rules: + - Migrated to (new) reduced format. + - Files from directories po and man are no longer being generated + every build. + * misc/bash_completion renamed to bash_completion.d/acheck. + * Parser.pm: fixed unescaped left brace in regex because it is + deprecated. It will solve #821017 when uploaded to Sid. + + -- Paulo Henrique de Lima Santana (phls) Mon, 02 Jan 2017 23:43:16 -0200 + acheck (0.5.2) unstable; urgency=medium * QA upload. @@ -14,10 +44,10 @@ * Non-maintainer upload. * Fix POD files to be compatible with perl 5.18. (closes: bug#723774) - * debian/compat: added, set to 3. + * debian/compat: added, set to 3. * debian/rules: remove DH_COMPAT=3. - * debian/control: - + Add ${misc:Depends} to Depends. Patch by Benjamin Kerensa. + * debian/control: + + Add ${misc:Depends} to Depends. Patch by Benjamin Kerensa. (closes: bug#692725) + Replace Build-Depends-Indep by Build-Depends, for the clean target. @@ -76,7 +106,7 @@ * use `${perl:Depends}' to calculate perl dependency * fix missing warning if aspell module missing thanks to Denis Barbier for reporting this bug - * fix `--rules' option to rules settting + * fix `--rules' option to rules setting * add `--type' option for filetype setting * entering Debian archive (closes: bug#202252) * clean `debian/' directory @@ -115,7 +145,7 @@ l10n-check (0.5.3) unstable; urgency=low - * fix add of ispell output when adding word to the dictionnary + * fix add of ispell output when adding word to the dictionary thanks to Denis Barbier for his patch -- Nicolas Bertolissio Thu, 10 Jul 2003 23:32:27 +0200 @@ -177,7 +207,7 @@ * use locale so `\w' should match correctly * use Getopt::Long module to parse options * use constants for constant values - * capitalize first letter of glogal variables + * capitalize first letter of global variables * use default values so configuration file is optional * add prototype in subs declarations * fix typo in changelog @@ -194,7 +224,7 @@ l10n-check (0.2.12) unstable; urgency=low - * fix unitialized value when parsing po header + * fix uninitialized value when parsing po header * allow on-line comments after each value -- Nicolas Bertolissio Tue, 12 Feb 2002 19:24:58 +0100 @@ -202,7 +232,7 @@ l10n-check (0.2.11) unstable; urgency=low * to pass lintian tests: - - change field `Build-Depends:' into `Build-Depends-Indep:' + - change field `Build-Depends:' into `Build-Depends-Indep:' - fix copyright file - add manpage * remove pod documentation from the script as there is a manpage @@ -211,7 +241,7 @@ l10n-check (0.2.10) unstable; urgency=low - * don't skip begining of template and ddts files + * don't skip beginning of template and ddts files thanks to Denis Barbier for reporting this bug -- Nicolas Bertolissio Mon, 4 Feb 2002 08:32:43 +0100 @@ -256,7 +286,7 @@ * bug fix: define empty `$choice' when replacing with an empty string -- Nicolas Bertolissio Thu, 31 Jan 2002 20:08:00 +0100 - + l10n-check (0.2.4) unstable; urgency=low * add documentation in pod format @@ -288,7 +318,7 @@ * bug fix: keep only 25 choices in choose menu * bug fix: re-parse line only if a change has been made when checking rules * bug fix: set next match after last word if no change has been made when - checkin spelling + checking spelling -- Nicolas Bertolissio Sun, 20 Jan 2002 17:32:00 +0100 @@ -308,4 +338,3 @@ * Initial Release -- Nicolas Bertolissio Sat, 19 Jan 2002 02:24:00 +0100 - diff -Nru acheck-0.5.2/debian/compat acheck-0.5.4/debian/compat --- acheck-0.5.2/debian/compat 2015-10-19 20:44:33.000000000 +0000 +++ acheck-0.5.4/debian/compat 2017-01-03 01:43:16.000000000 +0000 @@ -1 +1 @@ -9 +10 diff -Nru acheck-0.5.2/debian/control acheck-0.5.4/debian/control --- acheck-0.5.2/debian/control 2015-10-20 08:56:38.000000000 +0000 +++ acheck-0.5.4/debian/control 2017-01-04 23:15:03.000000000 +0000 @@ -1,13 +1,17 @@ Source: acheck Section: text Priority: optional -Maintainer: Debian QA Group -Build-Depends: debhelper (>> 9), perl, gettext -Standards-Version: 3.9.6 +Maintainer: Paulo Henrique de Lima Santana (phls) +Build-Depends: debhelper (>> 10), gettext, perl +Standards-Version: 3.9.8 Package: acheck Architecture: all -Depends: ${misc:Depends}, perl, acheck-rules, libterm-size-perl, libconfig-general-perl +Depends: ${misc:Depends}, + ${perl:Depends}, + acheck-rules, + libconfig-general-perl, + libterm-size-perl, Recommends: libtext-aspell-perl, liblocale-gettext-perl Suggests: libterm-readline-gnu-perl | libterm-readline-perl-perl Description: Check common localisation mistakes diff -Nru acheck-0.5.2/debian/copyright acheck-0.5.4/debian/copyright --- acheck-0.5.2/debian/copyright 2015-10-20 23:04:31.000000000 +0000 +++ acheck-0.5.4/debian/copyright 2017-01-03 01:43:16.000000000 +0000 @@ -1,8 +1,13 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 +Upstream-Name: acheck Files: * -Copyright: - 2001-2003 Nicolas Bertolissio +Copyright: 2001-2006 Nicolas Bertolissio + 2013 Bill Allombert + 2015 Adam Borowski + 2017 Paulo Henrique de Lima Santana (phls) +License: GPL-2+ + License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public diff -Nru acheck-0.5.2/debian/dirs acheck-0.5.4/debian/dirs --- acheck-0.5.2/debian/dirs 2003-07-14 18:25:03.000000000 +0000 +++ acheck-0.5.4/debian/dirs 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -usr/bin -usr/share/perl5/ACheck diff -Nru acheck-0.5.2/debian/install acheck-0.5.4/debian/install --- acheck-0.5.2/debian/install 1970-01-01 00:00:00.000000000 +0000 +++ acheck-0.5.4/debian/install 2017-01-03 01:43:16.000000000 +0000 @@ -0,0 +1,3 @@ +acheck usr/bin +*.pm usr/share/perl5/ACheck +bash_completion.d/acheck /usr/share/bash-completion/completions diff -Nru acheck-0.5.2/debian/manpages acheck-0.5.4/debian/manpages --- acheck-0.5.2/debian/manpages 1970-01-01 00:00:00.000000000 +0000 +++ acheck-0.5.4/debian/manpages 2017-01-03 01:43:16.000000000 +0000 @@ -0,0 +1,4 @@ +man/acheck.1 +man/acheck.5 +man/acheck.fr.1 +man/acheck.fr.5 diff -Nru acheck-0.5.2/debian/rules acheck-0.5.4/debian/rules --- acheck-0.5.2/debian/rules 2015-10-20 23:00:57.000000000 +0000 +++ acheck-0.5.4/debian/rules 2017-01-03 01:43:16.000000000 +0000 @@ -1,86 +1,7 @@ #!/usr/bin/make -f -# Sample debian/rules that uses debhelper. -# GNU copyright 1997 to 1999 by Joey Hess. -# Uncomment this to turn on verbose mode. -# export DH_VERBOSE=1 +%: + dh $@ -package := acheck -manpages := 1 5 - -languages := fr - -configure: configure-stamp -configure-stamp: - dh_testdir - touch configure-stamp - -build-indep: configure-stamp build-stamp -build-stamp: - dh_testdir - set -ex;\ - for i in $(manpages); do\ - pod2man --section=$$i man/$(package).$$i.pod > man/$(package).$$i;\ - for lang in $(languages); do\ - if test -e man/$(package).$$lang.$$i.pod; then\ - pod2man --section=$$i man/$(package).$$lang.$$i.pod > man/$(package).$$lang.$$i;\ - fi\ - done \ - done - $(MAKE) -C po all - touch build-stamp - -clean: - dh_testdir - dh_testroot - set -ex; find man -name \*.[1-9] | xargs rm -f; - $(MAKE) -C po $@ - dh_clean build-stamp configure-stamp - -install: build - dh_testdir - dh_testroot - dh_prep - dh_installdirs - set -ex; install -m 0755 $(package) debian/$(package)/usr/bin - set -ex; install -m 0644 *.pm debian/$(package)/usr/share/perl5/ACheck/ - $(MAKE) -C po DESTDIR=`pwd`/debian/$(package) install - -# Build architecture-independent files here. -binary-indep: build install - dh_testdir - dh_testroot -# dh_installdebconf - dh_installdocs -n misc/* -# dh_installexamples -# dh_installmenu -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_installinit -# dh_installcron - dh_installman man/*[1-9] -# dh_installinfo -# dh_undocumented - dh_installchangelogs -# dh_link -# dh_strip - dh_compress - dh_fixperms -# dh_makeshlibs - dh_installdeb -# dh_perl -# dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -# Build architecture-dependent files here. -build-arch: -binary-arch: -# We have nothing to do by default. - -build: build-indep build-arch -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure +override_dh_auto_install: + dh_auto_install -Dpo diff -Nru acheck-0.5.2/man/acheck.1 acheck-0.5.4/man/acheck.1 --- acheck-0.5.2/man/acheck.1 1970-01-01 00:00:00.000000000 +0000 +++ acheck-0.5.4/man/acheck.1 2017-01-03 01:43:16.000000000 +0000 @@ -0,0 +1,274 @@ +.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) +.\" +.\" Standard preamble: +.\" ======================================================================== +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Vb \" Begin verbatim text +.ft CW +.nf +.ne \\$1 +.. +.de Ve \" End verbatim text +.ft R +.fi +.. +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. \*(C+ will +.\" give a nicer C++. Capital omega is used to do unbreakable dashes and +.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, +.\" nothing in troff, for use with C<>. +.tr \(*W- +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.ie n \{\ +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` "" +. ds C' "" +'br\} +.el\{\ +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' +. ds C` +. ds C' +'br\} +.\" +.\" Escape single quotes in literal strings from groff's Unicode transform. +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" +.\" If the F register is >0, we'll generate index entries on stderr for +.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index +.\" entries marked with X<> in POD. Of course, you'll have to process the +.\" output yourself in some meaningful fashion. +.\" +.\" Avoid warning from groff about undefined register 'F'. +.de IX +.. +.if !\nF .nr F 0 +.if \nF>0 \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +.. +. if !\nF==2 \{\ +. nr % 0 +. nr F 2 +. \} +.\} +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. +. \" fudge factors for nroff and troff +.if n \{\ +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP +.\} +.if t \{\ +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& +.\} +. \" simple accents for nroff and troff +.if n \{\ +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / +.\} +.if t \{\ +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' +.\} +. \" troff and (daisy-wheel) nroff accents +.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' +.ds 8 \h'\*(#H'\(*b\h'-\*(#H' +.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] +.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' +.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' +.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] +.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] +.ds ae a\h'-(\w'a'u*4/10)'e +.ds Ae A\h'-(\w'A'u*4/10)'E +. \" corrections for vroff +.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' +.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' +. \" for low resolution devices (crt and lpr) +.if \n(.H>23 .if \n(.V>19 \ +\{\ +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE +.\} +.rm #[ #] #H #V #F C +.\" ======================================================================== +.\" +.IX Title "ACHECK.1 1" +.TH ACHECK.1 1 "2017-01-03" "perl v5.24.1" "User Contributed Perl Documentation" +.\" For nroff, turn off justification. Always turn off hyphenation; it makes +.\" way too many mistakes in technical documents. +.if n .ad l +.nh +.SH "NAME" +acheck \- Check common localization mistakes +.SH "SYNOPSIS" +.IX Header "SYNOPSIS" +acheck [\s-1OPTIONS\s0] [\s-1INPUT_FILE\s0] +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +This program parses a file checking for syntax rules and optionally asking +Aspell for checking word spelling. It makes fix suggestions and outputs a +corrected file accordingly adding review comments if requested. +.PP +It tries to find the file type according to the extension or the first lines +and loads rules accordingly. +.PP +It displays lines when they are parse. +.PP +When an error is found, a menu is displayed. Just press Enter if you don't want +to change anything. If a choice suits you, enter the corresponding number. If +you want to fix it but no choice is correct, enter a space, then you will be +asked for a string to replace the highlighted text. The script will replace the +highlighted text with your choice and parse it again for new errors. +.PP +Here are all the available commands: +.IP "\fIEnter\fR, ignore." 4 +.IX Item "Enter, ignore." +Ignore. +.IP "\fICtrl+L\fR, redraw." 4 +.IX Item "Ctrl+L, redraw." +Rewrite the last line, suggestions and hints. +.IP "\fISpace\fR, edit." 4 +.IX Item "Space, edit." +Edit the highlighted text. +.IP "\fIE\fR, edit line." 4 +.IX Item "E, edit line." +Edit the whole line. +.IP "\fIH\fR, add hint." 4 +.IX Item "H, add hint." +Add the displayed hint as review comment. Use this if you want the translator +to see the corresponding warning or error but you have no correction. +.IP "\fIN\fR, next line." 4 +.IX Item "N, next line." +Skip the rest of this line. +.IP "\fIX\fR, exit and discard all changes." 4 +.IX Item "X, exit and discard all changes." +Quit without saving modifications, the script ask you for confirmation, you +have to enter `\fByes\fR' to exit otherwise parsing starts again at the current +mistake. +.IP "\fIa\fR, add in dictionary." 4 +.IX Item "a, add in dictionary." +Add the highlighted word to you personal dictionary, capitalized as it is. +.IP "\fIl\fR, add lowercase in dictionary." 4 +.IX Item "l, add lowercase in dictionary." +Lowercase the highlighted word to add it to your personal dictionary. +.IP "\fIi\fR, ignore word." 4 +.IX Item "i, ignore word." +Ignore the highlighted word, same as \fIEnter\fR. +.IP "\fII\fR, ignore all." 4 +.IX Item "I, ignore all." +Ignore the highlighted word and add it to your session dictionary. +.SH "OPTIONS" +.IX Header "OPTIONS" +Verbosity level: +.IP "\fI\-q\fR, \fI\-\-quiet\fR" 4 +.IX Item "-q, --quiet" +quiet mode. +.IP "\fI\-v\fR" 4 +.IX Item "-v" +verbose, start at level \fI\f(CI$Debug\fI + 1\fR, add more for more verbosity (see below). +.IP "\fI\-\-verbose n\fR" 4 +.IX Item "--verbose n" +set verbosity level to \fIn\fR (see below). +.PP +Files: +.IP "\fI\-i\fR, \fI\-\-input\fR" 4 +.IX Item "-i, --input" +input filename, can be '\fI\-\fR' to read data from standard input. +.IP "\fI\-o\fR, \fI\-\-output\fR" 4 +.IX Item "-o, --output" +output filename, can be '\fI\-\fR' to write data to standard output. If no output +filename is provided, input file is backed up with `\fIbak_ext\fR' extension and +input filename is used. +.PP +Spell check: +.IP "\fI\-s\fR, \fI\-\-spell\fR" 4 +.IX Item "-s, --spell" +check spelling with Aspell. +.IP "\fI\-d language\fR, \fI\-\-dict language\fR" 4 +.IX Item "-d language, --dict language" +use \fIlanguage\fR dictionary for Aspell. +.IP "\fI\-n\fR, \fI\-\-nospell\fR" 4 +.IX Item "-n, --nospell" +don't check spelling. +.PP +Mode: +.IP "\fI\-r\fR, \fI\-\-review\fR" 4 +.IX Item "-r, --review" +review mode, add comments on lines beginning with \fI\f(CI$Comment\fI\fR after parsed +line. +.IP "\fI\-t\fR, \fI\-\-trans\fR" 4 +.IX Item "-t, --trans" +translator mode, don't add comments, just fix errors. +.PP +others: +.IP "\fI\-\-rules ruleset\fR" 4 +.IX Item "--rules ruleset" +use \fIruleset\fR rules set. +.IP "\fI\-\-type filetype\fR" 4 +.IX Item "--type filetype" +use \fIfiletype\fR whatever the file type is. +.IP "\fI\-\-dump\fR" 4 +.IX Item "--dump" +Dump the rules to check and exit, use this for debugging purposes. +.IP "\fI\-V\fR, \fI\-\-version\fR" 4 +.IX Item "-V, --version" +print version and exit. +.IP "\fI\-h\fR, \fI\-\-help\fR" 4 +.IX Item "-h, --help" +print a short usage message and exit. +.SS "Verbosity Level" +.IX Subsection "Verbosity Level" +.IP "\fI0\fR quiet, normal" 4 +.IX Item "0 quiet, normal" +only warnings and errors +.IP "\fI1\fR debug" 4 +.IX Item "1 debug" +names of subroutines +.IP "\fI2\fR debug verbose" 4 +.IX Item "2 debug verbose" +names and arguments of subroutines +.IP "\fI3\fR .. \fI5\fR debug very verbose" 4 +.IX Item "3 .. 5 debug very verbose" +output parsing and checking details +.SH "SEE ALSO" +.IX Header "SEE ALSO" +\&\fIacheck\fR\|(5), \fIacheck\-rules\fR\|(5) +.SH "AUTHOR" +.IX Header "AUTHOR" +Nicolas Bertolissio diff -Nru acheck-0.5.2/man/acheck.5 acheck-0.5.4/man/acheck.5 --- acheck-0.5.2/man/acheck.5 1970-01-01 00:00:00.000000000 +0000 +++ acheck-0.5.4/man/acheck.5 2017-01-03 01:43:16.000000000 +0000 @@ -0,0 +1,246 @@ +.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) +.\" +.\" Standard preamble: +.\" ======================================================================== +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Vb \" Begin verbatim text +.ft CW +.nf +.ne \\$1 +.. +.de Ve \" End verbatim text +.ft R +.fi +.. +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. \*(C+ will +.\" give a nicer C++. Capital omega is used to do unbreakable dashes and +.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, +.\" nothing in troff, for use with C<>. +.tr \(*W- +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.ie n \{\ +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` "" +. ds C' "" +'br\} +.el\{\ +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' +. ds C` +. ds C' +'br\} +.\" +.\" Escape single quotes in literal strings from groff's Unicode transform. +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" +.\" If the F register is >0, we'll generate index entries on stderr for +.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index +.\" entries marked with X<> in POD. Of course, you'll have to process the +.\" output yourself in some meaningful fashion. +.\" +.\" Avoid warning from groff about undefined register 'F'. +.de IX +.. +.if !\nF .nr F 0 +.if \nF>0 \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +.. +. if !\nF==2 \{\ +. nr % 0 +. nr F 2 +. \} +.\} +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. +. \" fudge factors for nroff and troff +.if n \{\ +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP +.\} +.if t \{\ +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& +.\} +. \" simple accents for nroff and troff +.if n \{\ +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / +.\} +.if t \{\ +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' +.\} +. \" troff and (daisy-wheel) nroff accents +.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' +.ds 8 \h'\*(#H'\(*b\h'-\*(#H' +.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] +.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' +.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' +.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] +.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] +.ds ae a\h'-(\w'a'u*4/10)'e +.ds Ae A\h'-(\w'A'u*4/10)'E +. \" corrections for vroff +.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' +.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' +. \" for low resolution devices (crt and lpr) +.if \n(.H>23 .if \n(.V>19 \ +\{\ +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE +.\} +.rm #[ #] #H #V #F C +.\" ======================================================================== +.\" +.IX Title "ACHECK.5 5" +.TH ACHECK.5 5 "2017-01-03" "perl v5.24.1" "User Contributed Perl Documentation" +.\" For nroff, turn off justification. Always turn off hyphenation; it makes +.\" way too many mistakes in technical documents. +.if n .ad l +.nh +.SH "NAME" +\&.acheck \- Acheck configuration file +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +This is the configuration file for acheck. If it exists, it must be at the top +of your home directory (\fI\f(CI$HOME\fI\fR). This file is optional unless you don't want +to use default values. +.PP +Lines beginning with a number sign (`\fB#\fR') and empty lines will be ignored. +Spaces at the beginning and the end of a line will also be ignored as well as +tabulators. If you need spaces at the end or the beginning of a value you can +use apostrophes (`\fB"\fR'). +An option line starts with it's name followed by a value. An equal sign is +optional. +A comment starts with the number sign, there can be any number of spaces and/or +tab stops in front of the #. +Some possible examples: +.PP +.Vb 4 +\& # this line is ignored +\& option value +\& option = value # this is a comment +\& option "value ending with space " +.Ve +.PP +You have to escape number signs with a backslash (`\fB\e\fR') to use it in a value. +.PP +Default values are provided into square brackets, they should be suitable for +most installations. +.SH "SPELLING" +.IX Header "SPELLING" +Define if you want to use ispell for checking spelling and how to use it. +.IP "\fIcheck_spelling\fR" 4 +.IX Item "check_spelling" +use Aspell for spelling if set to `\fByes\fR' [yes] +.IP "\fIdictionary\fR" 4 +.IX Item "dictionary" +Language dictionary to use with Aspell, use default if empty [empty] +.IP "\fIword_letters\fR" 4 +.IX Item "word_letters" +regular expression to define characters allowed to write a word, pattern matches +according locale [\ew] +.IP "\fI\f(CI$review_mode\fI\fR" 4 +.IX Item "$review_mode" +set to `\fByes\fR' if you want review comments to be added in the output file +after parsed line, otherwise just fix error [no] +.SH "COLORS" +.IX Header "COLORS" +Set text colors for clear presentation. +.PP +The recognized colors (all of which should be fairly intuitive) are: \fBclear\fR, +\&\fBreset\fR, \fBdark\fR, \fBbold\fR, \fBunderline\fR, \fBunderscore\fR, \fBblink\fR, \fBreverse\fR, +\&\fBconcealed\fR, \fBblack\fR, \fBred\fR, \fBgreen\fR, \fByellow\fR, \fBblue\fR, \fBmagenta\fR, +\&\fBcyan\fR, \fBwhite\fR, \fBon_black\fR, \fBon_red\fR, \fBon_green\fR, \fBon_yellow\fR, +\&\fBon_blue\fR, \fBon_magenta\fR, \fBon_cyan\fR, and \fBon_white\fR. Case is not +significant. Underline and underscore are equivalent, as are clear and reset, +so use whichever is the most intuitive to you. The \fIcolor\fR alone sets the +foreground color, and \fIon_color\fR sets the background color. +.PP +Note that not all colors are supported by all terminal types, and some +terminals may not support any of these sequences. Dark, blink, and concealed +in particular are frequently not implemented. +.IP "\fIerror_color\fR" 4 +.IX Item "error_color" +color used to highlight errors, this should highlight space characters [bold +on_red] +.IP "\fIfix_color\fR" 4 +.IX Item "fix_color" +color used to highlight suggestions, this should highlight space characters +[bold on_green] +.IP "\fIerror_head_color\fR" 4 +.IX Item "error_head_color" +color used to display the error line header [bold red] +.IP "\fIerror_color\fR" 4 +.IX Item "error_color" +color used to display the suggestion line header [bold green] +.IP "\fIcomment_color\fR" 4 +.IX Item "comment_color" +color used for comments and hints [cyan] +.SH "OTHERS" +.IX Header "OTHERS" +.IP "\fIbak_ext\fR" 4 +.IX Item "bak_ext" +extension for backup files [bak] +.IP "\fIcomment\fR" 4 +.IX Item "comment" +comment string for review [>> ] +.IP "\fIdebug\fR" 4 +.IX Item "debug" +verbosity level [0] +.PP +Verbosity Levels: +.IP "\fI0\fR quiet, normal" 4 +.IX Item "0 quiet, normal" +only warnings and errors +.IP "\fI1\fR debug" 4 +.IX Item "1 debug" +names of subroutines +.IP "\fI2\fR debug verbose" 4 +.IX Item "2 debug verbose" +names and arguments of subroutines +.IP "\fI3\fR .. \fI5\fR debug very verbose" 4 +.IX Item "3 .. 5 debug very verbose" +output parsing and checking details +.SH "SEE ALSO" +.IX Header "SEE ALSO" +\&\fIacheck\fR\|(1), \fIacheck\-rules\fR\|(5) +.SH "AUTHOR" +.IX Header "AUTHOR" +Nicolas Bertolissio diff -Nru acheck-0.5.2/man/acheck.fr.1 acheck-0.5.4/man/acheck.fr.1 --- acheck-0.5.2/man/acheck.fr.1 1970-01-01 00:00:00.000000000 +0000 +++ acheck-0.5.4/man/acheck.fr.1 2017-01-03 01:43:16.000000000 +0000 @@ -0,0 +1,282 @@ +.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) +.\" +.\" Standard preamble: +.\" ======================================================================== +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Vb \" Begin verbatim text +.ft CW +.nf +.ne \\$1 +.. +.de Ve \" End verbatim text +.ft R +.fi +.. +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. \*(C+ will +.\" give a nicer C++. Capital omega is used to do unbreakable dashes and +.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, +.\" nothing in troff, for use with C<>. +.tr \(*W- +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.ie n \{\ +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` "" +. ds C' "" +'br\} +.el\{\ +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' +. ds C` +. ds C' +'br\} +.\" +.\" Escape single quotes in literal strings from groff's Unicode transform. +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" +.\" If the F register is >0, we'll generate index entries on stderr for +.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index +.\" entries marked with X<> in POD. Of course, you'll have to process the +.\" output yourself in some meaningful fashion. +.\" +.\" Avoid warning from groff about undefined register 'F'. +.de IX +.. +.if !\nF .nr F 0 +.if \nF>0 \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +.. +. if !\nF==2 \{\ +. nr % 0 +. nr F 2 +. \} +.\} +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. +. \" fudge factors for nroff and troff +.if n \{\ +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP +.\} +.if t \{\ +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& +.\} +. \" simple accents for nroff and troff +.if n \{\ +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / +.\} +.if t \{\ +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' +.\} +. \" troff and (daisy-wheel) nroff accents +.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' +.ds 8 \h'\*(#H'\(*b\h'-\*(#H' +.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] +.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' +.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' +.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] +.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] +.ds ae a\h'-(\w'a'u*4/10)'e +.ds Ae A\h'-(\w'A'u*4/10)'E +. \" corrections for vroff +.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' +.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' +. \" for low resolution devices (crt and lpr) +.if \n(.H>23 .if \n(.V>19 \ +\{\ +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE +.\} +.rm #[ #] #H #V #F C +.\" ======================================================================== +.\" +.IX Title "ACHECK.FR.1 1" +.TH ACHECK.FR.1 1 "2017-01-03" "perl v5.24.1" "User Contributed Perl Documentation" +.\" For nroff, turn off justification. Always turn off hyphenation; it makes +.\" way too many mistakes in technical documents. +.if n .ad l +.nh +.SH "NOM" +.IX Header "NOM" +acheck \- Correction des erreurs courantes de traduction +.SH "SYNOPSIS" +.IX Header "SYNOPSIS" +acheck [\s-1OPTIONS\s0] [\s-1FICHIER_D\s0'ENTRE\*'E] +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +Ce programme analyse un fichier en ve\*'rifiant des re\*`gles de syntaxe et +e\*'ventuellement en demandant a\*` Aspell de ve\*'rifier l'orthographe des mots. Il +sugge\*`re des corrections et ge\*'ne\*`re un fichier corrige\*' en fonction, ajoutant des +commentaires de relecture si vous le de\*'sirez. +.PP +Il essaye de trouver le type de fichier en fonction de son extension ou de ses +premie\*`res lignes et charge les re\*`gles correspondantes. +.PP +Il affiche les lignes au fur et a\*` mesure de l'analyse. +.PP +Quand une erreur est trouve\*'e, un menu est affiche\*'. Pressez simplement Entre\*'e si +vous ne voulez rien modifier. Si un choix vous convient, entrez la lettre +correspondante. Si vous voulez corriger mais qu'aucun choix n'est correct, +entrez un espace, il vous demandera alors un texte pour remplacer celui qui est +surligne\*'. Il remplacera le texte surligne\*' par votre choix et reprendra +l'analyse. +.PP +Voici toutes les commandes disponibles\ : +.IP "\fIEnter\fR, ignorer." 4 +.IX Item "Enter, ignorer." +Ignore l'erreur. +.IP "\fICtrl+L\fR, rafficher." 4 +.IX Item "Ctrl+L, rafficher." +Raffiche la dernie\*`re ligne, les suggestions et commentaires. +.IP "\fIEspace\fR, e\*'diter." 4 +.IX Item "Espace, e'diter." +E\*'dite le texte surligne\*'. +.IP "\fIE\fR, e\*'diter la ligne." 4 +.IX Item "E, e'diter la ligne." +E\*'dite la ligne entie\*`re. +.IP "\fIH\fR, ajouter le commentaire." 4 +.IX Item "H, ajouter le commentaire." +Ajouter le commentaire affiche\*' en tant que commentaire de relecture. Ceci peut +e\*^tre utilise\*' si vous voulez que le traducteur voit l'avertissement ou l'erreur +mais que vous n'avez pas de correction a\*` apporter. +.IP "\fIN\fR, ligne suivante." 4 +.IX Item "N, ligne suivante." +Continuer a\*` la ligne suivante en sautant le reste de la ligne courante. +.IP "\fIX\fR, quitter sans changement." 4 +.IX Item "X, quitter sans changement." +Quitter sans sauvegarder les modifications, le script vous demande alors +confirmation, vous devez tapez X\ \fByes\fR\ X (oui) pour sortir sinon +l'analyse reprend sur l'erreur actuelle. +.IP "\fIa\fR, ajouter au dictionnaire." 4 +.IX Item "a, ajouter au dictionnaire." +Ajoute le mot surligne\*' a\*` votre dictionnaire personnel, avec les majuscules +telles qu'elles sont. +.IP "\fIl\fR, ajouter en minuscules au dictionnaire." 4 +.IX Item "l, ajouter en minuscules au dictionnaire." +Ajoute le mot surligne\*' a\*` votre dictionnaire personnel, en minuscules. +.IP "\fIi\fR, ignorer le mot." 4 +.IX Item "i, ignorer le mot." +Ignore le mot surligne\*', comme \fIEntre\*'e\fR. +.IP "\fII\fR, ignorer toujours." 4 +.IX Item "I, ignorer toujours." +Ignore le mot surligne\*' et l'ajoute a\*` votre dictionnaire de session. +.SH "OPTIONS" +.IX Header "OPTIONS" +Niveau de bavardage\ : +.IP "\fI\-q\fR, \fI\-\-quiet\fR" 4 +.IX Item "-q, --quiet" +silencieux\ ; +.IP "\fI\-v\fR" 4 +.IX Item "-v" +verbeux, commence au niveau \fI\f(CI$Debug\fI + 1\fR, plus il y en a, plus il est bavard +(voir plus bas)\ ; +.IP "\fI\-\-verbose n\fR" 4 +.IX Item "--verbose n" +utiliser le niveau \fIn\fR (voir plus bas). +.PP +Fichiers\ : +.IP "\fI\-i\fR, \fI\-\-input\fR" 4 +.IX Item "-i, --input" +nom du fichier d'entre\*'e, utiliser X\ \fI\-\fR\ X pour lire depuis +l'entre\*'e standard\ ; +.IP "\fI\-o\fR, \fI\-\-output\fR" 4 +.IX Item "-o, --output" +nom du fichier de sortie, utiliser X\ \fI\-\fR\ X pour e\*'crire sur la +sortie standard. Si aucun nom de fichier de sortie n'est fourni, le fichier +d'entre\*'e est sauvegarde\*' avec l'extension X\ \fIbak_ext\fR\ X et son nom +est utilise\*'. +.PP +Ve\*'rification de l'orthographe\ : +.IP "\fI\-s\fR, \fI\-\-spell\fR" 4 +.IX Item "-s, --spell" +ve\*'rifier l'orthographe avec Aspell\ ; +.IP "\fI\-d langue\fR, \fI\-\-dict langue\fR" 4 +.IX Item "-d langue, --dict langue" +utiliser Aspell avec le dictionnaire \fIlangue\fR\ ; +.IP "\fI\-n\fR, \fI\-\-nospell\fR" 4 +.IX Item "-n, --nospell" +ne pas ve\*'rifier l'orthographe. +.PP +Mode\ : +.IP "\fI\-r\fR, \fI\-\-review\fR" 4 +.IX Item "-r, --review" +mode relecture, ajoute des commentaires sur des lignes commenc\*,ant par +\&\fI\f(CI$Comment\fI\fR apre\*`s les lignes analyse\*'es\ ; +.IP "\fI\-t\fR, \fI\-\-trans\fR" 4 +.IX Item "-t, --trans" +mode traduction, ne pas ajouter de commentaire, ne faire que les corrections. +.PP +Autre\ : +.IP "\fI\-\-rules jeu_de_re\*`gles\fR" 4 +.IX Item "--rules jeu_de_re`gles" +utiliser \fIjeu_de_re\*`gles\fR comme jeu de re\*`gles\ ; +.IP "\fI\-\-type type_de_fichier\fR" 4 +.IX Item "--type type_de_fichier" +utiliser \fItype_de_fichier\fR quelque soit le type de fichier\ ; +.IP "\fI\-\-dump\fR" 4 +.IX Item "--dump" +affiche le jeu de re\*`gles, pour le de\*'bogage\ ; +.IP "\fI\-V\fR, \fI\-\-version\fR" 4 +.IX Item "-V, --version" +afficher le nume\*'ro de version. +.IP "\fI\-h\fR, \fI\-\-help\fR" 4 +.IX Item "-h, --help" +afficher un court message d'utilisation\ ; +.SS "Niveaux de bavardage" +.IX Subsection "Niveaux de bavardage" +.IP "\fI0\fR silencieux, normal" 4 +.IX Item "0 silencieux, normal" +seulement les avertissements et les erreurs\ ; +.IP "\fI1\fR de\*'bogage" 4 +.IX Item "1 de'bogage" +noms des proce\*'dures\ ; +.IP "\fI2\fR de\*'bogage bavard" 4 +.IX Item "2 de'bogage bavard" +noms et arguments des proce\*'dures\ ; +.IP "\fI3\fR .. \fI5\fR de\*'bogage tre\*`s bavard" 4 +.IX Item "3 .. 5 de'bogage tre`s bavard" +de\*'tails des analyses et des ve\*'rifications. +.SH "VOIR AUSSI" +.IX Header "VOIR AUSSI" +\&\fIacheck\fR\|(5), \fIacheck\-rules\fR\|(5) +.SH "AUTEUR" +.IX Header "AUTEUR" +Nicolas Bertolissio diff -Nru acheck-0.5.2/man/acheck.fr.5 acheck-0.5.4/man/acheck.fr.5 --- acheck-0.5.2/man/acheck.fr.5 1970-01-01 00:00:00.000000000 +0000 +++ acheck-0.5.4/man/acheck.fr.5 2017-01-03 01:43:16.000000000 +0000 @@ -0,0 +1,255 @@ +.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) +.\" +.\" Standard preamble: +.\" ======================================================================== +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Vb \" Begin verbatim text +.ft CW +.nf +.ne \\$1 +.. +.de Ve \" End verbatim text +.ft R +.fi +.. +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. \*(C+ will +.\" give a nicer C++. Capital omega is used to do unbreakable dashes and +.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, +.\" nothing in troff, for use with C<>. +.tr \(*W- +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.ie n \{\ +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` "" +. ds C' "" +'br\} +.el\{\ +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' +. ds C` +. ds C' +'br\} +.\" +.\" Escape single quotes in literal strings from groff's Unicode transform. +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" +.\" If the F register is >0, we'll generate index entries on stderr for +.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index +.\" entries marked with X<> in POD. Of course, you'll have to process the +.\" output yourself in some meaningful fashion. +.\" +.\" Avoid warning from groff about undefined register 'F'. +.de IX +.. +.if !\nF .nr F 0 +.if \nF>0 \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +.. +. if !\nF==2 \{\ +. nr % 0 +. nr F 2 +. \} +.\} +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. +. \" fudge factors for nroff and troff +.if n \{\ +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP +.\} +.if t \{\ +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& +.\} +. \" simple accents for nroff and troff +.if n \{\ +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / +.\} +.if t \{\ +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' +.\} +. \" troff and (daisy-wheel) nroff accents +.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' +.ds 8 \h'\*(#H'\(*b\h'-\*(#H' +.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] +.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' +.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' +.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] +.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] +.ds ae a\h'-(\w'a'u*4/10)'e +.ds Ae A\h'-(\w'A'u*4/10)'E +. \" corrections for vroff +.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' +.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' +. \" for low resolution devices (crt and lpr) +.if \n(.H>23 .if \n(.V>19 \ +\{\ +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE +.\} +.rm #[ #] #H #V #F C +.\" ======================================================================== +.\" +.IX Title "ACHECK.FR.5 5" +.TH ACHECK.FR.5 5 "2017-01-03" "perl v5.24.1" "User Contributed Perl Documentation" +.\" For nroff, turn off justification. Always turn off hyphenation; it makes +.\" way too many mistakes in technical documents. +.if n .ad l +.nh +.SH "NOM" +.IX Header "NOM" +\&.acheck \- Fichier de configuration d'acheck +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +Il s'agit du fichier de configuration pour acheck. S'il existe, il doit e\*^tre +situe\*' dans votre re\*'pertoire personnel (\fI\f(CI$HOME\fI\fR). Ce fichier est optionnel a\*` +moins que vous ne souhaitiez pas utiliser les valeurs par de\*'faut. +.PP +Les lignes commenc\*,ant par un die\*`se (X\ \fB#\fR\ X) et les lignes vides +sont ignore\*'es. Les espaces au de\*'but et a\*` la fin d'une ligne sont aussi ignore\*'s +ainsi que les tabulations. Si vous avez besoin d'espaces a\*` la fin ou au de\*'but +d'une valeur, vous pouvez utilisez des guillemets anglo-saxons +(X\ \fB"\fR\ X). Une ligne d'option de\*'bute par le nom de l'option suivi +par sa valeur. Le signe e\*'gal est optionnel. Un commentaire commence par un +die\*`se, il peut y avoir des espaces ou des tabulations devant le die\*`se. +Quelques exemples\ : +.PP +.Vb 4 +\& # cette ligne est ignore\*'e +\& option valeur +\& option = valeur # ceci est un commentaire +\& option "valeur avec espaces a\*` la fin " +.Ve +.PP +Vous devez prote\*'ger le caracte\*`re die\*`se avec une barre oblique inverse\*'e +(X\ \fB\e\fR\ X) si vous voulez l'utiliser dans une valeur. +.PP +Les valeurs par de\*'faut sont fournies entre crochets, elles devraient convenir +pour la plupart des configurations. +.SH "ORTHOGRAPHE" +.IX Header "ORTHOGRAPHE" +De\*'finit si vous voulez utiliser ispell pour ve\*'rifier l'orthographe et comme +l'utiliser. +.IP "\fIcheck_spelling\fR" 4 +.IX Item "check_spelling" +utiliser aspell pour ve\*'rifier l'orthographe si X\ \fByes\fR\ X (oui) +[yes]\ ; +.IP "\fIdictionary\fR" 4 +.IX Item "dictionary" +dictionnaire a\*` utiliser avec ispell, utiliser celui par de\*'faut si vide +[vide]\ ; +.IP "\fIword_letters\fR" 4 +.IX Item "word_letters" +expression rationnelle de\*'finissant les caracte\*`res autorise\*'s pour former un mot, +le motif correspond selon la locale [\ew]\ ; +.IP "\fI\f(CI$Review_mode\fI\fR" 4 +.IX Item "$Review_mode" +positionnez cette valeur a\*` X\ \fByes\fR\ X (oui) si vous voulez ajouter +des commentaires de relecture apre\*`s les lignes analyse\*'es dans le fichier +corrige\*', sinon le script corrige uniquement les erreurs [no]. +.SH "COULEURS" +.IX Header "COULEURS" +De\*'finit les couleurs du texte pour une meilleure pre\*'sentation. +.PP +Les couleurs reconnues sont\ : \fBclear\fR et \fBreset\fR (normal), \fBdark\fR +(sombre), \fBbold\fR (gras), \fBunderline\fR et \fBunderscore\fR (souligne\*'), \fBblink\fR +(clignotant), \fBreverse\fR (inverse\*'), \fBconcealed\fR (cache\*'), \fBblack\fR (noir), +\&\fBred\fR (rouge), \fBgreen\fR (vert), \fByellow\fR (jaune), \fBblue\fR (bleu), \fBmagenta\fR +(mangenta), \fBcyan\fR (cyan), \fBwhite\fR (blanc), \fBon_black\fR (sur noir), \fBon_red\fR +(sur rouge), \fBon_green\fR (sur vert), \fBon_yellow\fR (sur jaune), \fBon_blue\fR (sur +bleu), \fBon_magenta\fR (sur magenta), \fBon_cyan\fR (sur cyan), et \fBon_white\fR (sur +blanc). La casse n'est pas significative. \fBunderline\fR et \fBunderscore\fR sont +e\*'quivalents, de me\*^me que \fBclear\fR et \fBreset\fR, utilisez celui qui vous semble +le plus intuitif. Les \fIcouleurs\fR seules de\*'finissent la couleur des caracte\*`res, +et les \fIsur couleurs\fR de\*'finissent la couleur du fond. +.PP +Notez que toutes les couleurs ne sont pas supporte\*'es par tous les types de +terminaux, et certains terminaux peuvent ne supporter aucune de ces se\*'quences. +\&\fBdark\fR, \fBblink\fR et \fBconcealed\fR en particulier sont souvent manquantes. +.IP "\fIerror_color\fR" 4 +.IX Item "error_color" +couleur utilise\*'e pour surligner les erreurs, elle devrait colorer les +caracte\*`res d'espacement [bold on_red]\ ; +.IP "\fIfix_color\fR" 4 +.IX Item "fix_color" +couleur utilise\*'e pour surligner les suggestions, elle devrait colorer les +caracte\*`res d'espacement [bold on_green]\ ; +.IP "\fIerror_head_color\fR" 4 +.IX Item "error_head_color" +couleur utilise\*'e pour afficher l'en\-te\*^te des lignes errone\*'es [bold red]\ ; +.IP "\fIerror_color\fR" 4 +.IX Item "error_color" +couleur utilise\*'e pour afficher l'en\-te\*^te des lignes de suggestion +[bold green]\ ; +.IP "\fIcomment_color\fR" 4 +.IX Item "comment_color" +couleur utilise\*'e pour les commentaires [cyan]. +.SH "AUTRES" +.IX Header "AUTRES" +.IP "\fIbak_ext\fR" 4 +.IX Item "bak_ext" +extension pour les fichiers de sauvegarde [bak]\ ; +.IP "\fIcomment\fR" 4 +.IX Item "comment" +chai\*^ne de commentaire pour la relecture [>>\ ]\ ; +.IP "\fIdebug\fR" 4 +.IX Item "debug" +niveau de bavardage [0]. +.PP +Niveaux de bavardage\ : +.IP "\fI0\fR silencieux, normal" 4 +.IX Item "0 silencieux, normal" +seulement les avertissements et les erreurs\ ; +.IP "\fI1\fR de\*'bogage" 4 +.IX Item "1 de'bogage" +noms des proce\*'dures\ ; +.IP "\fI2\fR de\*'bogage bavard" 4 +.IX Item "2 de'bogage bavard" +noms et arguments des proce\*'dures\ ; +.IP "\fI3\fR .. \fI5\fR de\*'bogage tre\*`s bavard" 4 +.IX Item "3 .. 5 de'bogage tre`s bavard" +de\*'tails des analyses et des ve\*'rifications. +.SH "VOIR AUSSI" +.IX Header "VOIR AUSSI" +\&\fIacheck\fR\|(1), \fIacheck\-rules\fR\|(5) +.SH "AUTEUR" +.IX Header "AUTEUR" +Nicolas Bertolissio diff -Nru acheck-0.5.2/misc/bash_completion acheck-0.5.4/misc/bash_completion --- acheck-0.5.2/misc/bash_completion 2003-07-14 18:22:00.000000000 +0000 +++ acheck-0.5.4/misc/bash_completion 1970-01-01 00:00:00.000000000 +0000 @@ -1,13 +0,0 @@ -# This is a completion rule, it parses the usage message for commands and -# options through a one-line perl command - -_acheck() -{ - COMPREPLY=() - cur=${COMP_WORDS[COMP_CWORD]} # current word - - COMPREPLY=( $( compgen -W '-q -v -s -n -d -r -t -V -h --quiet --verbose --rules --spell --nospell --dict --review --trans --dump --version --help' -- $cur ) ) - - return 0 -} -complete -F _acheck acheck diff -Nru acheck-0.5.2/Parser.pm acheck-0.5.4/Parser.pm --- acheck-0.5.2/Parser.pm 2013-10-09 15:52:15.000000000 +0000 +++ acheck-0.5.4/Parser.pm 2017-01-03 01:43:16.000000000 +0000 @@ -123,8 +123,8 @@ $_ = shift; s/(\$\D)/\\$1/g; # `$' prevent use of variables but `$1', `$2', ... - s/\(\?{/(\\?{/g; # `(?{' prevent arbitrary code execution - s/\(\?\?{/(\\?\\?{/g; # `(??{' prevent arbitrary code execution + s/\(\?\{/(\\?{/g; # `(?{' prevent arbitrary code execution + s/\(\?\?\{/(\\?\\?{/g; # `(??{' prevent arbitrary code execution return $_; } diff -Nru acheck-0.5.2/.pc/.quilt_patches acheck-0.5.4/.pc/.quilt_patches --- acheck-0.5.2/.pc/.quilt_patches 1970-01-01 00:00:00.000000000 +0000 +++ acheck-0.5.4/.pc/.quilt_patches 2017-01-03 01:43:16.000000000 +0000 @@ -0,0 +1 @@ +debian/patches diff -Nru acheck-0.5.2/.pc/.quilt_series acheck-0.5.4/.pc/.quilt_series --- acheck-0.5.2/.pc/.quilt_series 1970-01-01 00:00:00.000000000 +0000 +++ acheck-0.5.4/.pc/.quilt_series 2017-01-03 01:43:16.000000000 +0000 @@ -0,0 +1 @@ +series diff -Nru acheck-0.5.2/.pc/.version acheck-0.5.4/.pc/.version --- acheck-0.5.2/.pc/.version 1970-01-01 00:00:00.000000000 +0000 +++ acheck-0.5.4/.pc/.version 2017-01-03 01:43:16.000000000 +0000 @@ -0,0 +1 @@ +2 diff -Nru acheck-0.5.2/po/acheck.pot acheck-0.5.4/po/acheck.pot --- acheck-0.5.2/po/acheck.pot 2003-08-18 18:24:01.000000000 +0000 +++ acheck-0.5.4/po/acheck.pot 2017-01-03 01:43:16.000000000 +0000 @@ -8,10 +8,11 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: Nicolas Bertolissio \n" -"POT-Creation-Date: 2003-08-18 20:24+0200\n" +"POT-Creation-Date: 2017-01-03 16:07-0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" @@ -78,7 +79,7 @@ msgstr "" #: ../acheck:1041 ../Parser.pm:374 -#, c-format +#, c-format, perl-format msgid "Cannot read `%s': %s\n" msgstr "" @@ -152,45 +153,45 @@ msgstr "" #: ../Parser.pm:118 -#, c-format +#, perl-format msgid "%s: value not valid\n" msgstr "" #: ../Parser.pm:159 ../Parser.pm:191 ../Parser.pm:238 ../Parser.pm:293 #: ../Parser.pm:324 -#, c-format +#, perl-format msgid "%s: syntax error\n" msgstr "" #: ../Parser.pm:289 -#, c-format +#, perl-format msgid "" "%s: name %s\n" "reserved word\n" msgstr "" #: ../Parser.pm:333 -#, c-format +#, perl-format msgid "" "unable to resolve %s\n" "undefined name as `valid' rule\n" msgstr "" #: ../Parser.pm:346 -#, c-format +#, perl-format msgid "" "unable to resolve %s\n" "name defined more than once as `rule', `list' and `comment'\n" msgstr "" #: ../Parser.pm:350 -#, c-format +#, perl-format msgid "" "unable to resolve %s\n" "undefined name as `rule', `list' or `comment'\n" msgstr "" #: ../Parser.pm:418 -#, c-format +#, perl-format msgid "%s/%s:%s: `%s', unknown field name\n" msgstr "" Binary files /tmp/tmpT3GPIC/6rOR4ckBYq/acheck-0.5.2/po/fr.mo and /tmp/tmpT3GPIC/nou7UjKUBl/acheck-0.5.4/po/fr.mo differ Binary files /tmp/tmpT3GPIC/6rOR4ckBYq/acheck-0.5.2/po/pl.mo and /tmp/tmpT3GPIC/nou7UjKUBl/acheck-0.5.4/po/pl.mo differ Binary files /tmp/tmpT3GPIC/6rOR4ckBYq/acheck-0.5.2/po/pt.mo and /tmp/tmpT3GPIC/nou7UjKUBl/acheck-0.5.4/po/pt.mo differ Binary files /tmp/tmpT3GPIC/6rOR4ckBYq/acheck-0.5.2/po/sv.mo and /tmp/tmpT3GPIC/nou7UjKUBl/acheck-0.5.4/po/sv.mo differ