Package: apertium Severity: important Version: 3.0.5-1 User: [EMAIL PROTECTED] Usertags: goal-dash
Hello maintainer, While performing an archive wide checkbashisms (from the 'devscripts' package) check I've found your package containing several /bin/sh scripts making use of a bashism. checkbashisms' output: > possible bashism in ./usr/bin/apertium-preprocess-corpus-lextor line 47 > ('((' should be '$(('): if ((length(w)>0) && (index(w,"^")>0)) { > possible bashism in ./usr/bin/apertium line 9 ('function' is useless): > function message > possible bashism in ./usr/bin/apertium line 21 ('function' is useless): > function translate_odt > possible bashism in ./usr/bin/apertium line 27 (alternative test command > ([[ foo ]] should be [ foo ])): if [[ LC_CTYPE == "" ]] > possible bashism in ./usr/bin/apertium line 32 (alternative test command > ([[ foo ]] should be [ foo ])): if [[ $(which zip) == "" ]] > possible bashism in ./usr/bin/apertium line 37 (alternative test command > ([[ foo ]] should be [ foo ])): if [[ $(which unzip) == "" ]] > possible bashism in ./usr/bin/apertium line 42 (alternative test command > ([[ foo ]] should be [ foo ])): if [[ $FICHERO == "" ]] > possible bashism in ./usr/bin/apertium line 65 (alternative test command > ([[ foo ]] should be [ foo ])): if [[ $BORRAFICHERO == "true" ]] > possible bashism in ./usr/bin/apertium line 68 (alternative test command > ([[ foo ]] should be [ foo ])): if [[ $SALIDA == "" ]] > possible bashism in ./usr/bin/apertium line 131 ('((' should be '$(('): > if((c <= 1)); > possible bashism in ./usr/bin/apertium line 145 (alternative test command > ([[ foo ]] should be [ foo ])): if [[ $UWORDS == "no" ]]; then OPTION="-n"; > possible bashism in ./usr/bin/apertium line 150 (alternative test command > ([[ foo ]] should be [ foo ])): if [[ $UWORDS == "no" ]]; then OPTION="-n"; > possible bashism in ./usr/bin/apertium line 154 (alternative test command > ([[ foo ]] should be [ foo ])): if [[ $MILOCALE == "" ]] > possible bashism in ./usr/bin/apertium line 162 (alternative test command > ([[ foo ]] should be [ foo ])): if [[ $UWORDS == "no" ]]; then OPTION="-n"; > possible bashism in ./usr/bin/apertium line 180 (alternative test command > ([[ foo ]] should be [ foo ])): if [[ $MILOCALE == "" ]] > possible bashism in ./usr/bin/apertium-gen-deformat line 39 (should be 'b = > a'): if [ $1 == "-a" ] > possible bashism in ./usr/bin/apertium-gen-deformat line 42 (should be 'b = > a'): elif [ $1 == "-m" ] > possible bashism in ./usr/bin/apertium-gen-deformat line 45 (should be 'b = > a'): elif [ $1 == "-M" ] Not using bash as /bin/sh would lead to errors. Please be aware that although bash is currently the default /bin/sh there's a release goal for Lenny to make dash the default /bin/sh[1]. If you want more information about dash as /bin/sh, you can read: http://lists.debian.org/debian-release/2008/01/msg00189.html https://wiki.ubuntu.com/DashAsBinSh [1]http://release.debian.org/lenny/goals.txt Thank you, -- Atomo64 - Raphael Please avoid sending me Word, PowerPoint or Excel attachments. See http://www.gnu.org/philosophy/no-word-attachments.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]