Refactor generate_text.sh script
This commit includes changes to the 'generate_text.sh' script: - Updated the 'rm' command to recursively remove files in the text directory using 'rm -rf'. - Improved comments and formatting in the script. The changes aim to enhance the script by ensuring a more thorough removal of files in the text directory and improving overall script readability.
This commit is contained in:
parent
b67b4a657b
commit
fd6dd6f9bf
@ -14,7 +14,7 @@ html_file="$text_dir/handout.html"
|
||||
all=("date" "time" "weather") # Add more elements as needed
|
||||
|
||||
# remove files in text_dir
|
||||
rm -f $text_dir/*
|
||||
rm -rf $text_dir/*
|
||||
|
||||
# Function to get the IP address of Lisa's iPhone
|
||||
check_ip() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user