Been curious to see if can filter out my access.log file and output a list of my twtxt followers just in case I’ve missed someone … I came up with this awk -F '\"' '/twtxt/ {print $(NF-1)}' /var/log/user.log | grep -v 'twtxt\.net' | sort -u | awk '{print $(NF-1) $NF}' | awk '/^\(/'
spaghetti monster of a command and I’m wondering if there’s a more elegant way for achieving the same thing.
We maintain a useragent tool for this 👌
@aelaraji@aelaraji.com Steal anything you want 🤣 f you manage to write a shell script version of the same tool I’d be interested in publishing it as an alternative tool 👌