Update cheatsheets

This commit is contained in:
ivuorinen
2025-01-06 00:18:31 +00:00
parent c41e4ca75d
commit b7f757ba3c
10 changed files with 113 additions and 29 deletions

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- 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: