Created
November 28, 2022 18:37
-
-
Save sputnick-dev/25a11d9a7cb4e5caa1229e4bd3f40759 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
$ cd /tmp | |
$ cat file | |
foobar | |
123 | |
$ sed 's/\w//g' file | |
$ sed 's/\d//g' file | |
foobar | |
123 | |
$ sed --version | |
sed (GNU sed) 4.8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment