-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
embed cmd for show code and show-save into Makefile
- Loading branch information
Weilei Zeng at qlab01
committed
Sep 22, 2023
1 parent
a6bf2f4
commit 8219273
Showing
1 changed file
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
clean: | ||
mv generate*.log trash | ||
# mv generate*.log generate*.err trash | ||
show-codes: | ||
bash show-codes.sh | ||
mv nkd*.log trash | ||
#show-codes: | ||
#echo "this display the last lines in log file, and one can check number of codes saved in each run." | ||
#for i in nkd*; do tail -n 3 $i |head -n 1; done | ||
show-save: | ||
# echo "how many codes has been saved this time:" | ||
bash show-save.sh | ||
echo "this count the lines with 'save', which is the same as number of codes saved during this trial" | ||
grep Saved *.log | wc -l | ||
print-codes: | ||
grep Saved *.log | ||
show-save-log: | ||
bash show-save.sh >>clean-log.txt | ||
date >> clean-log.txt | ||
|