feat: -f/-v/-e flags, 5-field TSV with tags in field 2
This commit is contained in:
parent
6b7fef5d2c
commit
2b36640567
9 changed files with 76 additions and 58 deletions
|
|
@ -9,7 +9,7 @@ load test_helper
|
|||
[[ "${output}" =~ "Skipped" ]]
|
||||
[ -s "${NAG_DIR}/alarms" ]
|
||||
local _ts _now
|
||||
_ts="$(cut -f2 "${NAG_DIR}/alarms")"
|
||||
_ts="$(cut -f3 "${NAG_DIR}/alarms")"
|
||||
_now="$(date +%s)"
|
||||
(( _ts > _now ))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue