mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fixed some test canonifiers to read only from stdin
Fixed some test canonifier scripts to read from stdin instead of from a filename specified as a cmd-line argument. This is needed in order to be able to reliably use them in a pipeline with other test canonifiers. Also removed some unused test canonifier scripts.
This commit is contained in:
parent
09904aeb54
commit
6f1e07f6d5
6 changed files with 16 additions and 56 deletions
|
@ -1,7 +1,8 @@
|
|||
#! /usr/bin/awk -f
|
||||
#! /usr/bin/env bash
|
||||
#
|
||||
# A diff canonifier that removes all file IDs from files.log
|
||||
|
||||
awk '
|
||||
BEGIN {
|
||||
FS="\t";
|
||||
OFS="\t";
|
||||
|
@ -28,6 +29,4 @@ process && column1 > 0 && column2 > 0 {
|
|||
}
|
||||
|
||||
{ print }
|
||||
|
||||
|
||||
|
||||
'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue