Last active
September 29, 2023 00:45
-
-
Save obfusk/1f8453a4e43576e76cadaa80b737c1d3 to your computer and use it in GitHub Desktop.
safer (but also much slower) strings command
This file contains 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/bash | |
LC_ALL=C exec grep -ahPo '[\x09\x20-\x7E]{4,}' -- "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment