Created
July 24, 2018 07:45
-
-
Save cGuille/7a53a7e83bc0369d921ede60732c3b6b to your computer and use it in GitHub Desktop.
Remove indentation (leading blank characters) from stdin
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
#!/usr/bin/env bash | |
set -eu | |
sed -r 's/^[[:blank:]]+//' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment