Re: [PATCH] Fix headers in some testing lisp files

2024-03-13 Thread Ihor Radchenko
Max Nikulin writes: > Looking for a file suitable for a new portion of unit tests I have > noticed some inconsistencies in first lines of files. Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=37a98d7de https://git.savannah.gnu.org/cgit/emacs/org-mode

[PATCH] Fix headers in some testing lisp files

2024-03-10 Thread Max Nikulin
Hi, Looking for a file suitable for a new portion of unit tests I have noticed some inconsistencies in first lines of files. for i in testing/lisp/*.el ; do base="$(basename "$i")"; if [ -z "$(sed -n -e "1s/$base//p" "$i")" ]; then printf '%s:1: ' "$i" ; head -1 "$i"