Last active
October 27, 2020 22:35
-
-
Save noinarisak/68673378c36dd9e1c1ebb75a00e75bd3 to your computer and use it in GitHub Desktop.
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
# //BUG: There is bug in the '-e'. Maybe have to two sed calls to the same log file? | |
function scrub_log() { | |
sed -i -e 's/^Authorization: SSWS.*/Authorization: SSWS not_real_base64_token/g' -e 's/^Authorization: Bearer.*/Authorization: Bearer not_real_base64_token/g' @{1} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment