From e65c4781b46a41539dccbfdb23250d28bdc8ed17 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sun, 5 Aug 2018 11:08:02 +0200 Subject: Add cheat for irc --- cheat/.cheat/irc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cheat/.cheat/irc b/cheat/.cheat/irc index d627438..a19489a 100644 --- a/cheat/.cheat/irc +++ b/cheat/.cheat/irc @@ -1,2 +1,5 @@ # Search for me please rm log.txt; for i in {8..0};do echo Getting log from $(date --date="$i day ago" +"%Y-%m-%d")...; curl -s "https://khaganat.net/irc/logs/%23khanat/%23khanat.$(date --date="$i day ago" +"%Y-%m-%d").log" >> log.txt; done; pseudo="neodarz"; cat log.txt | grep -v "<$pseudo" | grep "$pseudo" + +# Close a buffer +/close -- cgit v1.2.1