Last active
November 4, 2015 20:56
-
-
Save nicolashohm/75b7a3a42202f9f861fa to your computer and use it in GitHub Desktop.
Copy all lines from test not starting with "a" to withoutA
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
$ cat test | |
sdf | |
asdf | |
sdf | |
ert | |
aert | |
fgh | |
$ grep -v '^a' test > withoutA | |
$ cat withoutA | |
sdf | |
sdf | |
ert | |
fgh | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment