From 1cf8b7f36a84d8ed6ad1135da54445adbcd530b5 Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 3 Aug 2020 13:09:03 +0200 Subject: [PATCH] pretty PATH --- oneliners.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/oneliners.sh b/oneliners.sh index f573e06..6f4323b 100644 --- a/oneliners.sh +++ b/oneliners.sh @@ -8,3 +8,6 @@ find / -type l -exec readlink -nf {} ';' -exec echo " -> {}" ';' | grep "/bin/ba # extract base64-coded binary within a given tag in an xml (1st match) cat file.xml | sed -n -e 's/.*\(.*\)<\/ns5:Daten>.*/\1/p' | base64 -d + +# prettify PATH-Output: +echo $PATH | sed s/\:/\\n/g