Created
March 6, 2020 07:37
-
-
Save knappologi/e599121c45d6ec87932a2c7a7f026642 to your computer and use it in GitHub Desktop.
sed command to remove every line with åäö from a textfile, first param is the og txt, second is outputfile
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
| #!/bin/bash | |
| sed '/å/d ; /ä/d ; /ö/d' $1 > $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment