Re: [PATCH] Fix author-scan.sh on BSD systems.

2021-08-03 Thread David Bremner
Matt Armstrong writes: > 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.

[PATCH] Fix author-scan.sh on BSD systems.

2021-07-30 Thread Matt Armstrong
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 | 2 +- 1