goaccess
goaccess copied to clipboard
man page working with dates section typos
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 -
Sorry, I guess I'm not seeing the issue you are referring to?
sorry, forgot to mention the platforms. macos and openbsd both have this issue and i think those are not using groff