From 8cf856b35eb0728fa8288fc4f95d4f716b4b28ef Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Sat, 1 Jun 2024 15:17:05 +0200 Subject: [PATCH] Set LC_ALL to C in octojoom script #10 This commit sets the enviroment variable LC_ALL to 'C' in the octojoom script. This ensures the use of ASCII character set and standardizes behavior across different environments for consistency. --- src/octojoom | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/octojoom b/src/octojoom index ffe541c..28aaabe 100755 --- a/src/octojoom +++ b/src/octojoom @@ -223,6 +223,9 @@ if ! command -v docker-compose &>/dev/null; then exit 1 fi fi +# Setting the LC_ALL with respect to language, regional settings, to use POSIX locale, +# so ASCII character set and standardizes behavior is used for consistent across different environments +export LC_ALL=C # just clear the screen clear