Replace echo -e with printf #16

Merged
vlw merged 1 commit from refs/pull/16/head into master 2026-06-03 08:08:33 +02:00
vlw commented 2026-06-03 08:07:51 +02:00 (Migrated from codeberg.org)

This PR replaces all echo -e commands with printf. While echo is very portable, the -e flag for character escaping seems to be less portable. The GNU printf util should be very portable, and seems to handle escaping properly cross platform.

I ran into a similar issue with my dotfile aliases.

This PR replaces all `echo -e` commands with `printf`. While `echo` is very portable, the `-e` flag for character escaping seems to be less portable. The GNU `printf` util should be very portable, and seems to handle escaping properly cross platform. I ran into a [similar issue](/vlw/dotfiles/pulls/165) with my dotfile aliases.
Sign in to join this conversation.
No description provided.