mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-28 23:04:54 +02:00
![]() By default, grep already uses regular expressions when searching. The example `grep -e {{^regex$}} {{path/to/file}}` is the same as `grep {{^regex$}} {{path/to/file}}`. However, because of the comment about extended regular expressions, I mistakenly assumed `-e` was the option to enable it. I believe most people would refer to `tldr` in this use case looking for the `-E` extended regular expressions. With this in mind, I believe that example would be better rephrased as this pull request makes it. |
||
---|---|---|
.. | ||
common | ||
linux | ||
osx | ||
sunos |