From 036d1974979f56344ac7237e8897c0231b560f31 Mon Sep 17 00:00:00 2001 From: Kevin Lyda <kevin@ie.suberic.net> Date: Sat, 30 Jan 2016 22:27:58 +0000 Subject: [PATCH] Be a bit more picky about files to enclose. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4623ec8..951c80f 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ To trawl through looking for bulletin source distros (using the ``` for f in *.zip; do - unzip -l $f 2> /dev/null | grep -qi bulletin && echo $f; + unzip -l $f 2> /dev/null | grep -qi /bulletin && echo $f; done ``` @@ -39,8 +39,8 @@ copied down the relevant bits of the zip files which I extracted like so: ``` for f in *.zip; do - unzip -l $f 2> /dev/null | grep -qi bulletin \ - && unzip $f $(unzip -l $f | grep -i bulletin | awk '{print $4}'); + unzip -l $f 2> /dev/null | grep -qi /bulletin \ + && unzip $f $(unzip -l $f | grep -i /bulletin | awk '{print $4}'); done tar jcf decus.tar.bz2 decus ``` -- GitLab