🦊 Remove useless cat

This commit is contained in:
Marty Oehme 2021-12-01 22:16:46 +01:00
parent 52bf358187
commit afdfc53bfe
Signed by: Marty
GPG key ID: B7538B8F50A1C800

3
bemoji
View file

@ -113,8 +113,7 @@ get_most_recent() {
touch "$recent_file" touch "$recent_file"
fi fi
# TODO improve this messy line # TODO improve this messy line
cat "$recent_file" | sed -e '/^$/d' "$recent_file" |
sed -e '/^$/d' |
sort | sort |
uniq -c | uniq -c |
sort -rn | sort -rn |