shellcheck for our shell scripts?

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Pau Espin Pedrol pespin at sysmocom.de
Sat Sep 15 20:07:55 UTC 2018


Hi Holger,

I personally have shellcheck plugin in my editor (atom) which performs 
checks in real time when I write shell scripts, I really recommend using 
it if your editor supports it.

Regarding checking stuff with shellcheck, it can be fine but it may be 
dangerous requiring fix of all warnings/errors, since some of them are 
sometimes really hard to fix. For instance doing some stuff in posix 
shell bs doing it for bash or whatever.

A related topic could be discussing about using "uncrustify" to force 
correct code format to be applied to code during gerrit jenkins job.

Regards,
Pau

-- 
- Pau Espin Pedrol <pespin at sysmocom.de>         http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Director: Harald Welte



More information about the OpenBSC mailing list