added new features
This commit is contained in:
15
food_related/combine_md_files.sh
Executable file
15
food_related/combine_md_files.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Create a "master" document
|
||||
echo "# Master Document" > master_document.md
|
||||
|
||||
# Iterate over each .md file in the current directory
|
||||
for file in *.md; do
|
||||
# Skip the master_document.md file
|
||||
if [[ $file != "master_document.md" ]]; then
|
||||
# Append the content of each .md file to the master_document.md
|
||||
echo "## $file" >> master_document.md
|
||||
cat "$file" >> master_document.md
|
||||
echo "" >> master_document.md
|
||||
fi
|
||||
done
|
||||
7569
food_related/master_document.md
Normal file
7569
food_related/master_document.md
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user