Browse Source

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
pull/329/head
Georgelemental 4 years ago
committed by GitHub
parent
commit
fdd902b868
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/downloading-files.md

2
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"
}
```

Loading…
Cancel
Save