]> git.notmuchmail.org Git - notmuch/commit
Fix author-scan.sh on BSD systems.
authorMatt Armstrong <matt@rfc20.org>
Sat, 13 Feb 2021 18:22:43 +0000 (10:22 -0800)
committerDavid Bremner <david@tethera.net>
Tue, 3 Aug 2021 23:26:36 +0000 (20:26 -0300)
commit5734d8bd3220c99972290949c204091116c8b200
treef328bc36507a5ecce315a1e08d20845b028f8950
parent8908779999dbf6f2c6338f492950bb576bb6b5dd
Fix author-scan.sh on BSD systems.

BSD xargs does not have the -d option. Here we use tr to convert
newlines to NUL characters, then pass -0 to xargs (which BSD does
support).

I looked at passing -z to 'git ls-files', but I did not find a BSD
grep option to turn on NUL deliminted line processing.
devel/author-scan.sh