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/sh | |
# Script for removing emails, IPs, and other sensitive info from log files. | |
if [ $# -eq 0 ]; then | |
echo "Usage: $0 [-i] [file ...]" | |
exit 1 | |
fi | |
# Extended, case-insensitive regex patterns for things you want to remove |