worked around implementations of sed that don't understand -E, resolves #150

This commit is contained in:
Gregory Pakosz 2019-05-17 23:26:31 +02:00
parent 8809af7c9f
commit 67c22c2700
1 changed files with 8 additions and 0 deletions

View File

@ -177,6 +177,14 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
#
# export LC_NUMERIC=C
#
# if ! printf '' | sed -E 's///' 2>/dev/null; then
# if printf '' | sed -r 's///' 2>/dev/null; then
# sed () {
# command sed "${@/-E/-r}"
# }
# fi
# fi
#
# __newline='
# '
#