Automated Code Analysis
possible bashism in ./kdeui/util/generate_keys.sh line 61 (echo -e):
echo -e $begin_line \
"\n//" \
"\n// This library is free software; you can redistribute it and/or" \
"\n// modify it under the terms of the GNU Library General Public" \
"\n// License as published by the Free Software Foundation; either" \
"\n// version 2 of the License, or (at your option) any later version." \
"\n//" \
"\n// This library is distributed in the hope that it will be useful," \
"\n// but WITHOUT ANY WARRANTY; without even the implied warranty of" \
"\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU" \
"\n// Library General Public License for more details." \
"\n//" \
"\n// You should have received a copy of the GNU Library General Public License" \
"\n// along with this library; see the file COPYING.LIB. If not, write to" \
"\n// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor," \
"\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 ./kdeui/util/generate_keys.sh line 82 (echo -e):
echo -e $begin_line \
"\n//" \
"\n// This library is free software; you can redistribute it and/or" \
"\n// modify it under the terms of the GNU Library General Public" \
"\n// License as published by the Free Software Foundation; either" \
"\n// version 2 of the License, or (at your option) any later version." \
"\n//" \
"\n// This library is distributed in the hope that it will be useful," \
"\n// but WITHOUT ANY WARRANTY; without even the implied warranty of" \
"\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU" \
"\n// Library General Public License for more details." \
"\n//" \
"\n// You should have received a copy of the GNU Library General Public License" \
"\n// along with this library; see the file COPYING.LIB. If not, write to" \
"\n// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor," \
"\n\n#include <qnamespace.h>" \
"\n#include \"kckey.h\"" \
"\n\nconst KKeys kde_KKEYS[NB_KEYS] = {" \
> kckey.cpp
possible bashism in ./kdeui/util/generate_keys.sh line 86 (echo -e):
echo -e "};" >> kckey.cpp
possible bashism in ./kate/tests/hl/highlight.sh line 17 ($'...' should be "$(printf '...')"):
echo $'string with esc\apes\x0din it'
possible bashism in ./kate/tests/hl/highlight.sh line 18 ($"foo" should be eval_gettext "foo"):
echo $"string meant to be translated"
possible bashism in ./kate/tests/hl/highlight.sh line 29 (brace expansion):
mv my_file.{JPG,jpg}
possible bashism in ./kate/tests/hl/highlight.sh line 42 (${!prefix[*|@]):
echo ${!prefix*}
possible bashism in ./kate/tests/hl/highlight.sh line 43 (${!name}):
echo ${!redir}
possible bashism in ./kate/tests/hl/highlight.sh line 45 (${parm/?/pat[/str]}):
echo ${variable/a/d}
This report was generated on Fri, 28 Jan 2011 06:38:14 +0000, based on results by checkbashisms 2.10.65git5