diff options
-rwxr-xr-x | bollux | 4 |
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 | ||
418 | normalize_crlf() { | 418 | normalize_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 |