From 78750cd05efdc0143d0c1610bde907698e33c24e Mon Sep 17 00:00:00 2001 From: Max Mehl Date: Mon, 8 Jan 2024 17:07:37 +0100 Subject: [PATCH] fix footnotes --- content/blog/2020-02-ilovefs-2020.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/content/blog/2020-02-ilovefs-2020.md b/content/blog/2020-02-ilovefs-2020.md index 691b220..72d00b8 100644 --- a/content/blog/2020-02-ilovefs-2020.md +++ b/content/blog/2020-02-ilovefs-2020.md @@ -69,14 +69,14 @@ But of course, that's only a small fraction of the many interesting Free Softwar Happy I Love Free Software Day everyone! ❤ -PS: If you want to try the same with apt (with another separator): +[^1]: `pactree -l firefox | sort | uniq` -```bash -for p in $(dpkg --get-selections | cut -f1 | cut -d":" -f1); do - echo "$(apt-cache rdepends $p | tr -d '|' | tail -n+3 | sort | uniq | wc -l)*$p*$(apt-cache show $p | grep -m 1 "^Description:" | grep -oP '(?<=: ).*')" -done | column -t -s'*' | sort -nr -``` +[^2]: During the writing of this blog post I remembered Matthias [hugging Peter Stuge for #ilovefs 2013](https://k7r.eu/hug-a-developer-today-peter-stuge/) who also contributes to widely used Free Software projects. -[^1]: During the writing of this blog post I remembered Matthias [hugging Peter Stuge for #ilovefs 2013](https://k7r.eu/hug-a-developer-today-peter-stuge/) who also contributes to widely used Free Software projects. +[^3]: If you want to try the same with apt (with another separator): -[^2]: `pactree -l firefox | sort | uniq` + ```bash + for p in $(dpkg --get-selections | cut -f1 | cut -d":" -f1); do + echo "$(apt-cache rdepends $p | tr -d '|' | tail -n+3 | sort | uniq | wc -l)*$p*$(apt-cache show $p | grep -m 1 "^Description:" | grep -oP '(?<=: ).*')" + done | column -t -s'*' | sort -nr + ```