Skip to content

Commit ec6d01a

Browse files
committed
use ROTATEF instead of PSETF
1 parent 6f8e964 commit ec6d01a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ log aware version of `cat`:
3333

3434
```
3535
~/code/cleek topic/yacin/modified-and-fmt-change*
36-
¡ cat data/test-input/zeek/ssh.log
36+
¡ cat data/test-input/zeek/ssh.log
3737
#separator \x09
3838
#set_separator ,
3939
#empty_field (empty)
@@ -204,7 +204,7 @@ swap the `id.orig_h` and `id.resp_h` fields:
204204

205205
```
206206
~/code/cleek topic/yacin/modified-and-fmt-change*
207-
¡ cat data/test-input/zeek/dns.log | cleek -m '(psetf @id.orig_h @id.resp_h @id.resp_h @id.orig_h)' -x '(string/= @id.orig_h "8.8.8.8")'
207+
¡ cat data/test-input/zeek/dns.log | cleek -m '(rotatef @id.orig_h @id.resp_h)' -x '(string/= @id.orig_h "8.8.8.8")'
208208
#separator \x09
209209
#set_separator ,
210210
#empty_field (empty)

0 commit comments

Comments
 (0)