Improve shell portability: grep -q is not portable so redirect stdout,
authordtucker <dtucker@openbsd.org>
Mon, 25 Mar 2024 03:30:31 +0000 (03:30 +0000)
committerdtucker <dtucker@openbsd.org>
Mon, 25 Mar 2024 03:30:31 +0000 (03:30 +0000)
commit7c54d24873877dfdf64ef0c71195925db2e6fb4b
tree4bae7c37ea1903a8f882541f8f1ca707fb6c571f
parent2b2534fdcdeffb25edd8a1d5b7ebc30d146ba0f3
Improve shell portability: grep -q is not portable so redirect stdout,
and use printf instead of relying on echo to do \n substitution.  Reduces
diff vs Portable.
regress/usr.bin/ssh/sftp-cmds.sh