about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2020-05-31 08:47:46 -0500
committerCase Duckworth2020-05-31 08:47:46 -0500
commit27e7ce4b3e422bfd69e71cae37b49875c76679b7 (patch)
treede5b536adb18a5bb6b9cd8cdef4c537a154309c7
parentVersion bump (diff)
downloadbollux-27e7ce4b3e422bfd69e71cae37b49875c76679b7.tar.gz
bollux-27e7ce4b3e422bfd69e71cae37b49875c76679b7.zip
Log, don't echo
-rwxr-xr-xbollux4
1 files changed, 2 insertions, 2 deletions
diff --git a/bollux b/bollux index 93874c1..177504e 100755 --- a/bollux +++ b/bollux
@@ -251,7 +251,7 @@ remove_dot_segments() { # 5.2.4
251 elif [[ "$input" == . || "$input" == .. ]]; then 251 elif [[ "$input" == . || "$input" == .. ]]; then
252 input= 252 input=
253 else 253 else
254 [[ $input =~ ^(/?[^/]*)(/?.*)$ ]] || echo NOMATCH >&2 254 [[ $input =~ ^(/?[^/]*)(/?.*)$ ]] || log debug NOMATCH
255 output="$output${BASH_REMATCH[1]}" 255 output="$output${BASH_REMATCH[1]}"
256 input="${BASH_REMATCH[2]}" 256 input="${BASH_REMATCH[2]}"
257 fi 257 fi
@@ -416,7 +416,7 @@ mklesskey() {
416} 416}
417 417
418normalize_crlf() { 418normalize_crlf() {
419 shopt -s extglob 419 shopt -s extglob
420 while IFS= read -r; do 420 while IFS= read -r; do
421 printf '%s\n' "${REPLY//$'\r'?($'\n')/}" 421 printf '%s\n' "${REPLY//$'\r'?($'\n')/}"
422 done 422 done