goaccess icon indicating copy to clipboard operation
goaccess copied to clipboard

man page working with dates section typos

Open minusf opened this issue 2 years ago • 2 comments

https://github.com/allinurl/goaccess/blob/master/goaccess.1#L1063-L1071

i don't know the groff syntax off the top of my head, but the escapes do not do what is intended, it is rendered as:

   WORKING WITH DATES
       Another useful pipe would be filtering dates out of the web log

       The following will get all HTTP requests starting on 05/Dec/2010 until the end of the file.

              # sed -n '/05Dec2010/,$ p' access.log | goaccess -a -

       or using relative dates such as yesterdays or tomorrows day:

              # sed -n '/'$(date '+%d%b%Y' -d '1 week ago')'/,$ p' access.log | goaccess -a -

       If we want to parse only a certain time-frame from DATE a to DATE b, we can do:

              # sed -n '/5Nov2010/,/5Dec2010/ p' access.log | goaccess -a -

minusf avatar Jul 22 '21 17:07 minusf

Sorry, I guess I'm not seeing the issue you are referring to?

allinurl avatar Jul 24 '21 15:07 allinurl

sorry, forgot to mention the platforms. macos and openbsd both have this issue and i think those are not using groff

minusf avatar Aug 05 '21 15:08 minusf