From 6bc2bf4e1bdb0d3a61c936c99e1ba671c54222b8 Mon Sep 17 00:00:00 2001 From: moon Date: Tue, 16 Sep 2025 11:22:51 +0330 Subject: compressino + fixed logic --- all-in-one.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'all-in-one.sh') diff --git a/all-in-one.sh b/all-in-one.sh index 8ea9762..2d358ad 100755 --- a/all-in-one.sh +++ b/all-in-one.sh @@ -1,4 +1,8 @@ #!/usr/bin/env sh +cd src/ find . -type f -name "*.c" -exec sh -c 'echo "{}:"; echo "\"\"\""; cat "{}"; echo " \"\"\" -"' \; > bin/compressed.txt \ No newline at end of file +"' \; > ../bin/compressed.txt +find . -type f -name "*.h" -exec sh -c 'echo "{}:"; echo "\"\"\""; cat "{}"; echo " +\"\"\" +"' \; >> ../bin/compressed.txt \ No newline at end of file -- cgit v1.2.3