From fdd902b868a01ac46224435f495ed5a6f1f07ee2 Mon Sep 17 00:00:00 2001 From: Georgelemental Date: Sat, 27 Feb 2021 23:40:02 -0500 Subject: [PATCH] Use printf instead of echo in download function On some (but not all) machines, `echo` requres a `-e` flag to interpret escape sequences properly. `printf` works the same everywhere --- docs/downloading-files.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/downloading-files.md b/docs/downloading-files.md index 9f2734b..6261984 100644 --- a/docs/downloading-files.md +++ b/docs/downloading-files.md @@ -11,7 +11,7 @@ To take advantage add the following bash function to your `.bashrc` ```bash function wetty-download() { - echo "\033[5i"$(cat /dev/stdin | base64 -w 0)"\033[4i" + printf "\033[5i"$(cat /dev/stdin | base64 -w 0)"\033[4i" } ```