aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcrossdev4
1 files changed, 2 insertions, 2 deletions
diff --git a/crossdev b/crossdev
index ed75935..25b7acf 100755
--- a/crossdev
+++ b/crossdev
@@ -742,9 +742,9 @@ hr() {
|| c=${c##* }
fi
local ext=${1:- _ - ~ -}
- local sext=${ext/?/ }
+ local sext=${ext//?/ }
local br=$(printf "%$((c + ${#ext}))s")
- local banner=${br/${sext}/${ext}}
+ local banner=${br//${sext}/${ext}}
echo "${banner:0:${c}}"
}
ver_get_op() {