mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
![]() On Alpine (BusyBox `sed`), the previous `sed -e '$a\'` invocation always added a newline, breaking most every diff. There doesn't seem to be a need to attempt normalizing EOF newlines at the moment and doing it that way doesn't seem to be portable anyway. If canonifiers need to be portable, `sed` should be treated as a text-processing tool and POSIX definition of text-file is zero or more newline-terminated character-sequences, so if canonification of Baselines via `sed` is required, those Baselines should always end with a newline to be considered text files. I.e. that's not the job of this canonifier, and changing it also doesn't necessarily generalize since it could be considered coincidental that diff-remove-timestamps in particular is the default canonifier that's commonly used while there's still others that also make use of `sed`. |
||
---|---|---|
.. | ||
coverage-calc | ||
diff-canonifier | ||
diff-canonifier-external | ||
diff-remove-abspath | ||
diff-remove-fields | ||
diff-remove-file-ids | ||
diff-remove-fractions | ||
diff-remove-openclose-timestamps | ||
diff-remove-timestamps | ||
diff-remove-uids | ||
diff-remove-x509-key-info | ||
diff-remove-x509-names | ||
diff-sort | ||
diff-sort-conn-service | ||
diff-sort-set-elements | ||
external-ca-list.zeek | ||
file-analysis-test.zeek | ||
has-writer | ||
httpd.py | ||
rst-filter | ||
snmp-test.zeek | ||
update-external-repo-pointer.sh | ||
wait-for-file |