From e0c0d4b38cde20e2300e86b69414dd9851b47456 Mon Sep 17 00:00:00 2001 From: neodarz Date: Thu, 5 Sep 2019 07:05:07 +0200 Subject: ooo --- dotfiles/cheat/irc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 dotfiles/cheat/irc (limited to 'dotfiles/cheat/irc') diff --git a/dotfiles/cheat/irc b/dotfiles/cheat/irc new file mode 100644 index 0000000..a19489a --- /dev/null +++ b/dotfiles/cheat/irc @@ -0,0 +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