Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scripts/checkkconfigsymbols.sh: replace echo -e with printf

-e is a non-standard echo option, echo output is
implementation-dependent when it is used. Replace echo -e
with printf as suggested by POSIX echo manual.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>

authored by

Max Filippov and committed by
Michal Marek
36b5401b 95e2a7d8

+2 -2
+2 -2
scripts/checkkconfigsymbols.sh
··· 9 9 # Doing this once at the beginning saves a lot of time, on a cache-hot tree. 10 10 Kconfigs="`find . -name 'Kconfig' -o -name 'Kconfig*[^~]'`" 11 11 12 - /bin/echo -e "File list \tundefined symbol used" 12 + printf "File list \tundefined symbol used\n" 13 13 find $paths -name '*.[chS]' -o -name 'Makefile' -o -name 'Makefile*[^~]'| while read i 14 14 do 15 15 # Output the bare Kconfig variable and the filename; the _MODULE part at ··· 54 54 # beyond the purpose of this script. 55 55 symb_bare=`echo $symb | sed -e 's/_MODULE//'` 56 56 if ! grep -q "\<$symb_bare\>" $Kconfigs; then 57 - /bin/echo -e "$files: \t$symb" 57 + printf "$files: \t$symb\n" 58 58 fi 59 59 done|sort