summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--bash.html.markdown2
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
```