Skip to content

Commit

Permalink
Merge pull request #416 from iAGorynT/iAGorynT-Code-Snippet-Changes
Browse files Browse the repository at this point in the history
Update Brewautom2.sh
  • Loading branch information
iAGorynT authored Oct 20, 2024
2 parents f983a06 + 6d705ae commit ee2c467
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ShellScripts/Brewautom2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ function autoupdatestatus {
temp_file=$(mktemp)
# Loop through each line of the file
while IFS= read -r line; do
# Check if the line starts with any of the specified days
# if [[ "$line" =~ ^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) ]]; then
# Add a blank line before the line
# echo "" >> "$temp_file"
# Check if the line starts with the specified string
# if [[ "$line" =~ ^(Brew Update,) ]]; then
# Add a separator line before the line
# echo "==>" >> "$temp_file"
# fi
# Append the original line to the temporary file
echo "$line" >> "$temp_file"
Expand Down

0 comments on commit ee2c467

Please sign in to comment.