Module: kamailio
Branch: master
Commit: 8d3d53f5f698da1357c3475ae136677099b2f702
URL: 
https://github.com/kamailio/kamailio/commit/8d3d53f5f698da1357c3475ae136677099b2f702

Author: Sean Bright <s...@seanbright.com>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2023-12-12T10:38:06+01:00

utils: Prefer `printf` over `echo -e`.

On Ubuntu, `/bin/sh` defaults to `dash` whose built-in `echo` command
does not support the `-e` flag. `printf`, on the other hand, supports
backslash escapes by default so we use that instead.

In passing, also clean up some messy ANSI escape codes.

---

Modified: pkg/kamailio/obs/kamailio.init
Modified: utils/kamctl/kamctl
Modified: utils/kamctl/kamctl.base
Modified: utils/kamctl/kamdbctl
Modified: utils/kamctl/kamdbctl.base

---

Diff:  
https://github.com/kamailio/kamailio/commit/8d3d53f5f698da1357c3475ae136677099b2f702.diff
Patch: 
https://github.com/kamailio/kamailio/commit/8d3d53f5f698da1357c3475ae136677099b2f702.patch

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to