refactored sed calls to not use -i
This commit is contained in:
@@ -120,5 +120,6 @@ if [ -f "$LOG_FILE" ]; then
|
||||
-e 's/\[[0-9]m//g' \
|
||||
-e 's/ H //g' \
|
||||
-e 's/\[3gH //g' \
|
||||
-i "$LOG_FILE"
|
||||
"$LOG_FILE" > "$LOG_FILE.clean"
|
||||
mv "$LOG_FILE.clean" "$LOG_FILE"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user