diff options
author | Leif Lindholm <leif.lindholm@linaro.org> | 2017-04-24 10:49:29 +0100 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2017-04-24 10:49:29 +0100 |
commit | 79419dcd54b3542a0262f178840414fda01e2f17 (patch) | |
tree | 0026423519a2f7c79fbf90903e80bfa350f1e431 | |
parent | 12e8e46a138bd8e3b99a5ac7b1a7922f06500743 (diff) |
Add handy-snippets.sh
Various handy incantations not (yet) developed into full
scripts.
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
-rw-r--r-- | handy-snippets.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/handy-snippets.sh b/handy-snippets.sh new file mode 100644 index 0000000..834ca74 --- /dev/null +++ b/handy-snippets.sh @@ -0,0 +1,8 @@ +# +# First step in looking for duplicate file GUIDs +# +# find . -name "*.inf" | \ +# xargs grep -H FILE_GUID | \ +# sed 's/^\(.*\):[ \t]*FILE_GUID[ \t]*=[ \t]*\([a-f.A-F.0-9.-]*\).*\r$/\2 \1/' | \ +# sort +# |