From b368ffc69d056a5d68e04e1dd093a6bc4f0603b2 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 22 Mar 2023 01:10:17 +0300 Subject: [PATCH] explicitly removing null bytes... Signed-off-by: Alex A. Naanou --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4b04166..08bb3be 100644 --- a/Makefile +++ b/Makefile @@ -248,10 +248,9 @@ LN := cp -l DEPENDS.txt: $(MODULE).cls cat $< \ | grep -Ezo '\s*\\RequirePackage(\[[^]]*\])?\{[^}]*\}' \ - | sed \ - -e 's/.*{\(.*\)}/hard \1\n/' \ - -e 's/\x0/\n/' \ + | sed -e 's/.*{\(.*\)}/hard \1\n/' \ | grep -a hard \ + | tr -d '\000' \ > $@