Bash Patterns: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 15: Line 15:
  / # slash
  / # slash
  ~ # tilda
  ~ # tilda
=Non-Special Characters=
These characters do not need to be escaped in bash patterns to match:
\ # forward slash

Revision as of 23:51, 18 September 2019

External

Internal

Metacharacters

The following characters have a special meaning when a bash pattern is evaluated, and they need to be escaped to be matched literally:

/ # slash
~ # tilda

Non-Special Characters

These characters do not need to be escaped in bash patterns to match:

\ # forward slash