logswan

Fast Web log analyzer using probabilistic data structures
Log | Files | Refs | README | LICENSE

commit 58e1efbbca6d7aeacb0dc16480ea1566dff9585c
parent c0629b071ef88682145dcfe0d772caf82f5cb655
Author: Frederic Cambus <fred@statdns.com>
Date:   Wed, 27 Jun 2018 17:38:03 +0200

Add an EXAMPLES section in the man page

Diffstat:
Mlogswan.1 | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/logswan.1 b/logswan.1 @@ -58,6 +58,17 @@ Display usage .It Fl v Display version .El +.Sh EXAMPLES +The following script can be used to process all log files in the current +directory and save the output in a file: +.Bd -literal -offset indent +#!/bin/sh +for file in $(ls *.log) +do + logswan $file > $file.json +done +exit 0 +.Ed .Sh AUTHORS .Nm was written by