Fix bash syntax error caused by apostrophe in awk comment
The comment "it's too old" contained an apostrophe (single quote) which broke the bash single-quote enclosure of the awk script, causing: "syntax error near unexpected token '}'" Changed to "too old" to avoid the apostrophe. In bash, single-quoted strings cannot contain single quotes/apostrophes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -404,7 +404,7 @@ parse_logs() {
|
||||
|
||||
# Numerical comparison of epoch seconds
|
||||
if (log_epoch != "" && log_epoch < cutoff_epoch) {
|
||||
next # Skip this entry, it's too old
|
||||
next # Skip this entry, too old
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user