commit 534c5921a641279c0272542d7f5a9f453a352eb9
parent a8db9d0d429ce128b2c52371d72756051a77d77a
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Sat, 3 Jan 2015 23:49:09 +0100
ignore initial comments
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/check-packages.sh b/check-packages.sh
@@ -6,5 +6,6 @@
comm -3 <(apt-mark showmanual | sort) \
<(grep "^`hostname`" ~/config/private/apt/machines |
cut -d ' ' -f2- | tr ' ' '\n' | grep -v '^\s*$' |
- sed "s_^_$HOME/config/apt/_" | xargs sort | cut -d ' ' -f1 |
+ sed "s_^_$HOME/config/apt/_" | xargs sort |
+ cut -d ' ' -f1 | cut -d '#' -f1 |
grep -v '^\s*$' | uniq)