diff --git a/README.md b/README.md index 44cc199..ed5a426 100644 --- a/README.md +++ b/README.md @@ -3079,6 +3079,14 @@ grep -v ^[[:space:]]*# filename egrep -v '#|^$' filename ``` +###### Show strings that begins with a dash/hyphen + +```bash +grep -e -- filename +grep -- -- filename +grep "\-\-" filename +``` + #### Shell functions  [[TOC]](#anger-table-of-contents) ##### Table of Contents