Debian Automated Code Analysis

checkbashisms analysis of kdelibs_3.5.10.dfsg.1-5.dsc

possible bashism in ./configure line 43874 (should be 'b = a'):
if test x"$have_pkg_config" == xno; then
possible bashism in ./kdecore/generate_keys.sh line 48 (echo -e):
echo -e $begin_line \
        "\n// Distributed under the GNU Library General Public License" \
		"\n#ifndef KCKEY_H" \
		"\n#define KCKEY_H" \
		"\n\ntypedef struct {" \
		"\n\tconst char *name;" \
		"\n\tint code;" \
		"\n} KKeys;" \
		"\n\n#define MAX_KEY_LENGTH           15   // should be calculated (gawk ?)" \
		"\n#define MAX_KEY_MODIFIER_LENGTH   21  // \"SHIFT + CRTL + ALT + \" : " \
		"\n#define MAX_FCTN_LENGTH           50  // arbitrary limit" \
		"\n#define NB_KEYS                " `cat kckey_a | wc -l` \
		"\nextern const KKeys kde_KKEYS[NB_KEYS];" \
		"\n\n#endif" \
> kckey.h
possible bashism in ./kdecore/generate_keys.sh line 56 (echo -e):
echo -e $begin_line \
        "\n// Distributed under the GNU Library General Public License" \
		"\n\n#include <qnamespace.h>" \
		"\n#include \"kckey.h\"" \
		"\n\nconst KKeys kde_KKEYS[NB_KEYS] = {" \
> kckey.cpp
possible bashism in ./kdecore/generate_keys.sh line 60 (echo -e):
echo -e "};" >> kckey.cpp
possible bashism in ./win/tools/kdcopidl line 12 (read without variable):
find $dir -maxdepth 1 -name \*.h | while read ; do 
possible bashism in ./kate/tests/highlight.sh line 17 ($'...' should be "$(printf '...')"):
echo $'string with esc\apes\x0din it'
possible bashism in ./kate/tests/highlight.sh line 18 ($"foo" should be eval_gettext "foo"):
echo $"string meant to be translated"
possible bashism in ./kate/tests/highlight.sh line 29 (brace expansion):
mv my_file.{JPG,jpg}
possible bashism in ./kate/tests/highlight.sh line 42 (${!prefix[*|@]):
echo ${!prefix*}
possible bashism in ./kate/tests/highlight.sh line 43 (${!name}):
echo ${!redir}
possible bashism in ./kate/tests/highlight.sh line 45 (${parm/?/pat[/str]}):
echo ${variable/a/d}
possible bashism in ./admin/cvs.sh line 552 (echo -e):
	echo -e 'i18n("_: NAME OF TRANSLATORS\\n"\n"Your names")\ni18n("_: EMAIL OF TRANSLATORS\\n"\n"Your emails")' > _translatorinfo.cpp
possible bashism in ./khtml/css/makevalues line 27 (echo -e):
echo -e '%{\n/* This file is automatically generated from cssvalues.in by makevalues, do not edit */\n/* Copyright 1999 W. Bastian */\n#include "cssvalues.h"\n%}\nstruct css_value {\n    const char *name;\n    int id;\n};\n\nstatic const css_value* findValue (register const char *str, register unsigned int len);\n\n%%' > cssvalues.gperf
possible bashism in ./khtml/css/makevalues line 30 (echo -e):
echo -e '/* This file is automatically generated from cssvalues.in by
possible bashism in ./khtml/css/makevalues line 41 (echo -e):
echo -e '#endif\n' >> cssvalues.h

This report was generated on Fri, 17 Dec 2010 04:38:07 +0000, based on results by checkbashisms 2.10.65git5