ansiweather

Weather in terminal, with ANSI colors and Unicode symbols
Log | Files | Refs | README | LICENSE

commit a10c01342e37acf09a676539d7170cc0b0293e7a
parent 83085de4bbf262e34056c70bc94008bea86b7c44
Author: Frederic Cambus <fred@statdns.com>
Date:   Tue, 17 May 2016 17:13:56 +0200

Use env printf instead of hardcoding printf path (Close #88)

Diffstat:
Mansiweather | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ansiweather b/ansiweather @@ -7,7 +7,7 @@ # https://github.com/fcambus/ansiweather # # # # Created: 2013-08-29 # -# Last Updated: 2016-01-04 # +# Last Updated: 2016-05-17 # # # # AnsiWeather is released under the BSD 3-Clause license. # # See LICENSE file for details. # @@ -400,7 +400,7 @@ fi if [ "$ansi" = true ] then - /usr/bin/printf "$output\033[0m\n" + env printf "$output\033[0m\n" else - /usr/bin/printf "$output\n" | sed "s/$(printf '\033')\[[0-9;]*m//g" + env printf "$output\n" | sed "s/$(printf '\033')\[[0-9;]*m//g" fi