3 ms·
Well, otherwise `if grep "line" $file; then` wouldn't work, which in my opinion is the primary use case for grep in scripts. I'd still prefer a `grep <args> ||
by wolletd 3y ago
Well, otherwise `if grep "line" $file; then` wouldn't work, which in my opinion is the primary use case for grep in scripts.
I'd still prefer a `grep <args> || true` over not having `set -e` for the whole file.