Skip to content

Commit

Permalink
Update case.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Managor authored Jan 4, 2025
1 parent dc70e5d commit 21c1f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/common/case.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

- Combine patterns with |, use * as a fallback pattern:

`case {{$COUNTRULE}} in {{[wW]|words}}) {{wc -w README}} ;; {{[lL]|lines}}) {{wc -l README}} ;; *) {{echo "what?"}}; ;; esac`
`case {{$COUNTRULE}} in {{[wW]|words}}) {{wc -w README}} ;; {{[lL]|lines}}) {{wc -l README}} ;; *) {{echo "what?"}} ;; esac`

- Allow matching multiple patterns:

Expand Down

0 comments on commit 21c1f39

Please sign in to comment.