Created
February 22, 2023 13:23
-
-
Save jglick/9a3bce5eb63928f481d5b77253bafa22 to your computer and use it in GitHub Desktop.
Dump manifest of JAR(s) without line-wrapping
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for j in "$@" | |
do | |
unzip -p "$j" META-INF/MANIFEST.MF | perl -p -0777 -e 's/\r?\n //g' | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment