Last active
August 29, 2015 14:12
-
-
Save jceresearch/061438407a53021efc0b to your computer and use it in GitHub Desktop.
Sed command to redact sh... p... file for safe extraction
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
sed -r 's/^([^:]+):([^:])([^:]?)([^:]?)([^:]*):(.*)$/\1:\2\3\4:\6/w shadowredacted' < shadow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment