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.
This commit is contained in:
parent
cbf6330b94
commit
05c8b489a8
8
Makefile
8
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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user