pretty PATH

master
zeus 2020-08-03 13:09:03 +02:00
parent b38a1e3540
commit 1cf8b7f36a
1 changed files with 3 additions and 0 deletions

View File

@ -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) # extract base64-coded binary within a given tag in an xml (1st match)
cat file.xml | sed -n -e 's/.*<ns5\:Daten\ xmime\:contentType\=\"application\/pdf\">\(.*\)<\/ns5:Daten>.*/\1/p' | base64 -d cat file.xml | sed -n -e 's/.*<ns5\:Daten\ xmime\:contentType\=\"application\/pdf\">\(.*\)<\/ns5:Daten>.*/\1/p' | base64 -d
# prettify PATH-Output:
echo $PATH | sed s/\:/\\n/g