diff options
author | Gregory S. Kielian <gregory.kielian@gmail.com> | 2014-09-27 12:06:36 -0700 |
---|---|---|
committer | Gregory S. Kielian <gregory.kielian@gmail.com> | 2014-09-27 12:06:36 -0700 |
commit | e9c21740df4c93ee4575eca41b0028fa2d90ce1b (patch) | |
tree | ef9cabcd1c38ce5fd4f06f7c6480ae19b6db4270 | |
parent | b52a32dd2439c293892b72e35b57b4887a5a53cf (diff) |
amended grep description
-rw-r--r-- | bash.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash.html.markdown b/bash.html.markdown index 0f571e83..fd347488 100644 --- a/bash.html.markdown +++ b/bash.html.markdown @@ -202,6 +202,6 @@ uniq -d file.txt cut -d ',' -f 1 file.txt # replaces every occurance of 'apples' with 'oranges' in file.txt sed -i 's/apples/oranges/g' file.txt -# prints the number of occurances of "foo" in file.txt +# prints the number of lines with the string "foo" in file.txt grep -c "foo" file.txt ``` |