diff --git a/README.md b/README.md index 8fb05fb..2e337cd 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,10 @@ egrep = grep -E # Extended Regular Expression (ERE) pgrep = grep -P # Perl Compatible Regular Expressions (PCRE) rgrep = grep -r # recursive ``` +##### Grep and count number of empty lines +```bash +grep -c "^$" +``` ##### Grep and return only integer ```bash