[install] grep -> \grep

This commit is contained in:
Junegunn Choi 2024-12-01 23:22:36 +09:00
parent ac508a1ce4
commit 3e6e0528a6
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -317,7 +317,7 @@ append_line() {
sed 's/^/ Line /' <<< "$lines"
update=0
if ! grep -qv "^[0-9]*:[[:space:]]*#" <<< "$lines" ; then
if ! \grep -qv "^[0-9]*:[[:space:]]*#" <<< "$lines" ; then
echo " - But they all seem to be commented"
ask " - Continue modifying $file?"
update=$?