From 05c8b489a8e2421680cbf9c43ddca671f5cc2640 Mon Sep 17 00:00:00 2001 From: retoor Date: Fri, 6 Dec 2024 22:01:01 +0000 Subject: [PATCH] fix: update grep source file from dataset.txt to 0_dataset.txt in Makefile The export_statistics and export_mentions targets in the Makefile were reading from the incorrect file export/dataset.txt instead of the renamed export/0_dataset.txt, causing grep operations to fail silently. This commit corrects both the display and redirect commands to use the proper source filename. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 69d409e..418e31f 100644 --- a/Makefile +++ b/Makefile @@ -27,14 +27,14 @@ export_dataset: export_statistics: @echo "Exporting statisticts. Result will be ./export/2_statistics.txt" - cat export/dataset.txt | grep "Statistics: " - cat export/dataset.txt | grep "Statistics: " > export/2_statistics.txt + cat export/0_dataset.txt | grep "Statistics: " + cat export/0_dataset.txt | grep "Statistics: " > export/2_statistics.txt export_mentions: @echo "Exporting mentions. Result will be ./export/3_mentions.txt" - cat export/dataset.txt | grep "times ment" - cat export/dataset.txt | grep "times ment" > export/3_mentions.txt + cat export/0_dataset.txt | grep "times ment" + cat export/0_dataset.txt | grep "times ment" > export/3_mentions.txt merge_images: