From 56c305af663c330b5f393e71fd213c2300e400c1 Mon Sep 17 00:00:00 2001 From: Jephte CLAIN Date: Thu, 31 Dec 2015 12:36:43 +0400 Subject: [PATCH] awk ne supporte pas \s --- lib/ulib/bash40/bash_completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ulib/bash40/bash_completion b/lib/ulib/bash40/bash_completion index 6d81a57..fc0b405 100644 --- a/lib/ulib/bash40/bash_completion +++ b/lib/ulib/bash40/bash_completion @@ -1144,7 +1144,7 @@ _known_hosts_real() if [ ${#kh[@]} -gt 0 ]; then # FS needs to look for a comma separated list COMPREPLY=( "${COMPREPLY[@]}" $( awk 'BEGIN {FS=","} - /^\s*[^|\#]/ {for (i=1; i<=2; ++i) { \ + /^[[:blank:]]*[^|\#]/ {for (i=1; i<=2; ++i) { \ gsub(" .*$", "", $i); \ gsub("[\\[\\]]", "", $i); \ gsub(":[0-9]+$", "", $i); \