We can actually get all the headers we are interested in just one call of mhdr(1) since it can query multiple headers in multiple messages in just one call. With BQNs reshape / two dimensional array facilities it is easy to group the lines of headers by their originating message and append the original path to the result array. We still use a separate mhdr(1) call for the Date header since we rely on the -D option for parsing the header. Change-Id: Iaaf8f21fa22ab3e32e6900df4ae164e72c722cd3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/13016 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Autosubmit: sterni <sternenseemann@systemli.org> |
||
|---|---|---|
| .. | ||
| 2021 | ||
| 2022 | ||
| .gitignore | ||
| lib.bqn | ||