diff --git a/pages/common/arthas-watch.md b/pages/common/arthas-watch.md index 7ddf2c9447..eefad4b781 100644 --- a/pages/common/arthas-watch.md +++ b/pages/common/arthas-watch.md @@ -6,12 +6,12 @@ - Observe the first parameter and return value of method, and expand the nested attributes of the object to 4 levels: -`watch {{class-pattern}} {{method-pattern}} {{'{ params[0],returnObj }'}} -x 4` +`watch {{class-pattern}} {{method-pattern}} '{{{ params[0],returnObj }}}' -x 4` - When the value of the first parameter of the method is 5, the second parameter and return value are output, and the object is expanded 4 layers: -`watch {{class-pattern}} {{method-pattern}} {{'{ params[1],returnObj }'}} {{'"5".equals(params[0])'}} -x 4` +`watch {{class-pattern}} {{method-pattern}} '{{{ params[1],returnObj }}}' '{{"5".equals(params[0])}}' -x 4` - When the method returns or an exception occurs, observe the count property of the second parameter: -`watch {{class-pattern}} {{method-pattern}} {{'{ params[1].count }'}} -e -s` +`watch {{class-pattern}} {{method-pattern}} '{{{ params[1].count }}}' -e -s` diff --git a/pages/common/babeld.md b/pages/common/babeld.md index 3c5bd78276..b7fb4247fb 100644 --- a/pages/common/babeld.md +++ b/pages/common/babeld.md @@ -13,7 +13,7 @@ - Specify a [C]onfiguration command: -`babeld -C {{'redistribute metric 256'}}` +`babeld -C '{{redistribute metric 256}}'` - Specify on which interfaces to operate: diff --git a/pages/common/buzzphrase.md b/pages/common/buzzphrase.md index 1ccca4654b..63ac26beec 100644 --- a/pages/common/buzzphrase.md +++ b/pages/common/buzzphrase.md @@ -9,8 +9,8 @@ - Print a phrase formatted as [i]mperative verb + past tense [v]erb + [a]djective + plural [N]oun: -`buzzphrase {{'{i} {v} {a} {N}'}}` +`buzzphrase '{{{i} {v} {a} {N}}}'` - Print `k` phrases formatted as present participle [V]erb + [a]djective + singular [n]oun + [f]inal: -`buzzphrase {{k}} {{'{V} {a} {n} {f}'}}` +`buzzphrase {{k}} '{{{V} {a} {n} {f}}}'` diff --git a/pages/common/case.md b/pages/common/case.md index 75d6aa677a..2e6600d0b2 100644 --- a/pages/common/case.md +++ b/pages/common/case.md @@ -17,7 +17,7 @@ - Continue to the next pattern's commands without checking the pattern: -`case {{$ANIMAL}} in {{cat}}) echo {{"It's a cat"}} ;& {{dog}}) {{echo "It's either a dog or cat fell through"}} ;& *) {{echo "Fallback"}} ;; esac` +`case {{$ANIMAL}} in {{cat}}) {{echo "It's a cat"}} ;& {{dog}}) {{echo "It's either a dog or cat fell through"}} ;& *) {{echo "Fallback"}} ;; esac` - Display help: diff --git a/pages/common/cli53.md b/pages/common/cli53.md index 74ab1f9303..c814e6620d 100644 --- a/pages/common/cli53.md +++ b/pages/common/cli53.md @@ -17,19 +17,19 @@ - Create a `www` subdomain pointing to a relative record in the same zone: -`cli53 {{[rc|rrcreate]}} {{example.com}} {{'www 300 CNAME lb'}}` +`cli53 {{[rc|rrcreate]}} {{example.com}} '{{www 300 CNAME lb}}'` - Create a `www` subdomain pointing to an external address (must end with a dot): -`cli53 {{[rc|rrcreate]}} {{example.com}} {{'www 300 CNAME lb.example.com.'}}` +`cli53 {{[rc|rrcreate]}} {{example.com}} '{{www 300 CNAME lb.example.com.}}'` - Create a `www` subdomain pointing to an IP address: -`cli53 {{[rc|rrcreate]}} {{example.com}} {{'www 300 A 150.130.110.1'}}` +`cli53 {{[rc|rrcreate]}} {{example.com}} '{{www 300 A 150.130.110.1}}'` - Replace a `www` subdomain pointing to a different IP: -`cli53 {{[rc|rrcreate]}} --replace {{'www 300 A 150.130.110.2'}}` +`cli53 {{[rc|rrcreate]}} --replace '{{www 300 A 150.130.110.2}}'` - Delete a record A: diff --git a/pages/common/curl.md b/pages/common/curl.md index 7188a9b328..65a67cf3b0 100644 --- a/pages/common/curl.md +++ b/pages/common/curl.md @@ -19,15 +19,15 @@ - Send form-encoded data (POST request of type `application/x-www-form-urlencoded`). Use `--data @file_name` or `--data @'-'` to read from `stdin`: -`curl {{[-X|--request]}} POST {{[-d|--data]}} {{'name=bob'}} {{http://example.com/form}}` +`curl {{[-X|--request]}} POST {{[-d|--data]}} '{{name=bob}}' {{http://example.com/form}}` - Send a request with an extra header, using a custom HTTP method and over a proxy (such as BurpSuite), ignoring insecure self-signed certificates: -`curl {{[-k|--insecure]}} {{[-x|--proxy]}} {{http://127.0.0.1:8080}} {{[-H|--header]}} {{'Authorization: Bearer token'}} {{[-X|--request]}} {{GET|PUT|POST|DELETE|PATCH|...}} {{https://example.com}}` +`curl {{[-k|--insecure]}} {{[-x|--proxy]}} {{http://127.0.0.1:8080}} {{[-H|--header]}} '{{Authorization: Bearer token}}' {{[-X|--request]}} {{GET|PUT|POST|DELETE|PATCH|...}} {{https://example.com}}` - Send data in JSON format, specifying the appropriate Content-Type header: -`curl {{[-d|--data]}} {{'{"name":"bob"}'}} {{[-H|--header]}} {{'Content-Type: application/json'}} {{http://example.com/users/1234}}` +`curl {{[-d|--data]}} '{{{"name":"bob"}}}' {{[-H|--header]}} '{{Content-Type: application/json}}' {{http://example.com/users/1234}}` - Pass client certificate and private key for the request, skipping certificate validation: diff --git a/pages/common/dalfox.md b/pages/common/dalfox.md index 3fa1212915..df417f333c 100644 --- a/pages/common/dalfox.md +++ b/pages/common/dalfox.md @@ -9,7 +9,7 @@ - Scan a URL using a header for authentication: -`dalfox url {{http://example.com}} {{[-H|--header]}} {{'X-My-Header: 123'}}` +`dalfox url {{http://example.com}} {{[-H|--header]}} '{{X-My-Header: 123}}'` - Scan a list of URLs from a file: diff --git a/pages/common/dockdiver.md b/pages/common/dockdiver.md index bdf6d30d31..57b56d571d 100644 --- a/pages/common/dockdiver.md +++ b/pages/common/dockdiver.md @@ -25,4 +25,4 @@ - Add custom headers as JSON (e.g., '{"X-Custom": "Value"}'): -`dockdiver -url {{https://example.com}} -list -headers {{'{"X-Custom": "Value"}'}}` +`dockdiver -url {{https://example.com}} -list -headers '{{{"X-Custom": "Value"}}}'` diff --git a/pages/common/entr.md b/pages/common/entr.md index 56ee9ab09b..e89311a952 100644 --- a/pages/common/entr.md +++ b/pages/common/entr.md @@ -9,7 +9,7 @@ - Rebuild and test with `make` if any `.c` source files in the current directory change: -`{{ls *.c}} | entr {{'make && make test'}}` +`{{ls *.c}} | entr '{{make && make test}}'` - Send a `SIGTERM` to any previously spawned ruby subprocesses before executing `ruby main.rb`: @@ -25,7 +25,7 @@ - Rebuild the project if source files change, limiting output to the first few lines: -`{{find src/}} | entr -s {{'make | sed 10q'}}` +`{{find src/}} | entr -s '{{make | sed 10q}}'` - Launch and auto-[r]eload a Node.js server: diff --git a/pages/common/ern.md b/pages/common/ern.md index 535bf51308..b16ea544cf 100644 --- a/pages/common/ern.md +++ b/pages/common/ern.md @@ -17,7 +17,7 @@ - Publish an Electrode Native container to a local Maven repository: -`ern publish-container --publisher {{maven}} --platform {{android}} --extra {{'{"groupId":"com.walmart.ern","artifactId":"quickstart"}'}}` +`ern publish-container --publisher {{maven}} --platform {{android}} --extra '{{{"groupId":"com.walmart.ern","artifactId":"quickstart"}}}'` - Transform an iOS container into a pre-compiled binary framework: diff --git a/pages/common/exiv2.md b/pages/common/exiv2.md index 29c65ec468..6603cbb3c0 100644 --- a/pages/common/exiv2.md +++ b/pages/common/exiv2.md @@ -25,4 +25,4 @@ - Rename the file, prepending the date and time from metadata (not from the file timestamp): -`exiv2 {{[-r|--rename]}} {{'%Y%m%d_%H%M%S_:basename:'}} {{path/to/file}}` +`exiv2 {{[-r|--rename]}} '{{%Y%m%d_%H%M%S_:basename:}}' {{path/to/file}}` diff --git a/pages/common/fastmod.md b/pages/common/fastmod.md index 7405aced03..3a7aaa3fa5 100644 --- a/pages/common/fastmod.md +++ b/pages/common/fastmod.md @@ -14,7 +14,7 @@ - Replace a `regex` in a specific directory in files filtered with a case-insensitive glob pattern: -`fastmod {{regex}} {{replacement}} --dir {{path/to/directory}} --iglob {{'**/*.{js,json}'}}` +`fastmod {{regex}} {{replacement}} --dir {{path/to/directory}} --iglob '{{**/*.{js,json}}}'` - Replace for an exact string in `.js` or JSON files: diff --git a/pages/common/fc.md b/pages/common/fc.md index de5cf5c80c..176345d3df 100644 --- a/pages/common/fc.md +++ b/pages/common/fc.md @@ -9,7 +9,7 @@ - Specify an editor to open with: -`fc -e {{'emacs'}}` +`fc -e '{{emacs}}'` - List recent commands from history: diff --git a/pages/common/flask-unsign.md b/pages/common/flask-unsign.md index c0438bf9cb..44c1859cc9 100644 --- a/pages/common/flask-unsign.md +++ b/pages/common/flask-unsign.md @@ -21,11 +21,11 @@ - Sign a new session cookie with a secret key: -`flask-unsign {{[-s|--sign]}} {{[-c|--cookie]}} {{"{'logged_in': False}"}} {{[-S|--secret]}} {{secret}}` +`flask-unsign {{[-s|--sign]}} {{[-c|--cookie]}} "{{{'logged_in': False}}}" {{[-S|--secret]}} {{secret}}` - Sign a session cookie using legacy timestamp (useful for old versions): -`flask-unsign {{[-s|--sign]}} {{[-c|--cookie]}} {{"{'logged_in': False}"}} {{[-S|--secret]}} {{secret}} {{[-l|--legacy]}}` +`flask-unsign {{[-s|--sign]}} {{[-c|--cookie]}} "{{{'logged_in': False}}}" {{[-S|--secret]}} {{secret}} {{[-l|--legacy]}}` - Brute-force a session cookie with custom threads and no literal evaluation: diff --git a/pages/common/fselect.md b/pages/common/fselect.md index bd3d19af1a..ba7386ec29 100644 --- a/pages/common/fselect.md +++ b/pages/common/fselect.md @@ -5,7 +5,7 @@ - Select full path and size from temporary or configuration files in a given directory: -`fselect size, path from {{path/to/directory}} where name = {{'*.cfg'}} or name = {{'*.tmp'}}` +`fselect size, path from {{path/to/directory}} where name = '{{*.cfg}}' or name = {{'*.tmp'}}` - Find square images: diff --git a/pages/common/grpcurl.md b/pages/common/grpcurl.md index ef71a31306..1a156a2e2d 100644 --- a/pages/common/grpcurl.md +++ b/pages/common/grpcurl.md @@ -10,7 +10,7 @@ - Send a request with a header and a body: -`grpcurl -H "{{Authorization: Bearer $token}}" -d {{'{"foo": "bar"}'}} {{grpc.server.com:443}} {{my.custom.server.Service/Method}}` +`grpcurl -H "{{Authorization: Bearer $token}}" -d '{{{"foo": "bar"}}}' {{grpc.server.com:443}} {{my.custom.server.Service/Method}}` - List all services exposed by a server: diff --git a/pages/common/join.md b/pages/common/join.md index 66f7d3184f..9895fcf071 100644 --- a/pages/common/join.md +++ b/pages/common/join.md @@ -9,7 +9,7 @@ - Join two files using a comma (instead of a space) as the field separator: -`join -t {{','}} {{path/to/file1}} {{path/to/file2}}` +`join -t '{{,}}' {{path/to/file1}} {{path/to/file2}}` - Join field3 of file1 with field1 of file2: diff --git a/pages/common/pageres.md b/pages/common/pageres.md index ad9984ae53..ff29eb3e89 100644 --- a/pages/common/pageres.md +++ b/pages/common/pageres.md @@ -13,7 +13,7 @@ - Provide a custom filename template: -`pageres {{https://example.com/}} {{1024x768}} --filename={{'<%= date %> - <%= url %>'}}` +`pageres {{https://example.com/}} {{1024x768}} --filename='{{<%= date %> - <%= url %>}}'` - Capture a specific element on a page: diff --git a/pages/common/pdfgrep.md b/pages/common/pdfgrep.md index 96b104497e..41eba40a64 100644 --- a/pages/common/pdfgrep.md +++ b/pages/common/pdfgrep.md @@ -13,7 +13,7 @@ - Do a case-insensitive search for lines that begin with "foo" and return the first 3 matches: -`pdfgrep {{[-m|--max-count]}} {{3}} {{[-i|--ignore-case]}} {{'^foo'}} {{file.pdf}}` +`pdfgrep {{[-m|--max-count]}} {{3}} {{[-i|--ignore-case]}} '{{^foo}}' {{file.pdf}}` - Find pattern in files with a `.pdf` extension in the current directory recursively: @@ -21,4 +21,4 @@ - Find pattern on files that match a specific glob in the current directory recursively: -`pdfgrep {{[-r|--recursive]}} --include {{'*book.pdf'}} {{pattern}}` +`pdfgrep {{[-r|--recursive]}} --include '{{*book.pdf}}' {{pattern}}` diff --git a/pages/common/piper.md b/pages/common/piper.md index a680e0f15d..2151d6f5c7 100644 --- a/pages/common/piper.md +++ b/pages/common/piper.md @@ -10,16 +10,16 @@ - Output a WAV [f]ile using a [m]odel and specifying its JSON [c]onfig file: -`echo {{'Thing to say'}} | piper -m {{path/to/model.onnx}} -c {{path/to/model.onnx.json}} -f {{outputfile.wav}}` +`echo {{Thing to say}} | piper -m {{path/to/model.onnx}} -c {{path/to/model.onnx.json}} -f {{outputfile.wav}}` - Select a particular speaker in a voice with multiple speakers by specifying the speaker's ID number: -`echo {{'Warum?'}} | piper -m {{de_DE-thorsten_emotional-medium.onnx}} --speaker {{1}} -f {{angry.wav}}` +`echo {{Warum?}} | piper -m {{de_DE-thorsten_emotional-medium.onnx}} --speaker {{1}} -f {{angry.wav}}` - Stream the output to the mpv media player: -`echo {{'Hello world'}} | piper -m {{en_GB-northern_english_male-medium.onnx}} --output-raw -f - | mpv -` +`echo {{Hello world}} | piper -m {{en_GB-northern_english_male-medium.onnx}} --output-raw -f - | mpv -` - Speak twice as fast, with huge gaps between sentences: -`echo {{'Speaking twice the speed. With added drama!'}} | piper -m {{foo.onnx}} --length_scale {{0.5}} --sentence_silence {{2}} -f {{drama.wav}}` +`echo {{Speaking twice the speed. With added drama!}} | piper -m {{foo.onnx}} --length_scale {{0.5}} --sentence_silence {{2}} -f {{drama.wav}}` diff --git a/pages/common/pueue.md b/pages/common/pueue.md index 2b43ec0b53..fa61b2fb15 100644 --- a/pages/common/pueue.md +++ b/pages/common/pueue.md @@ -14,7 +14,7 @@ - Send data to a task's `stdin`: -`pueue send {{task_id}} {{"hello"}}` +`pueue send {{task_id}} "{{hello}}"` - View a task's `stdout` and `stderr`, as well as basic information about that task: diff --git a/pages/common/pulumi-org.md b/pages/common/pulumi-org.md index 8c5b7716d9..b076674a70 100644 --- a/pages/common/pulumi-org.md +++ b/pages/common/pulumi-org.md @@ -17,7 +17,7 @@ - Search for resources in Pulumi Cloud using Pulumi AI with a plaintext natural language query: -`pulumi org search ai {{[-q|--query]}} {{"show me all load balancers in my organization"}}` +`pulumi org search ai {{[-q|--query]}} "{{show me all load balancers in my organization}}"` - Display help: diff --git a/pages/common/rsql.md b/pages/common/rsql.md index 33df2c9f3e..6481b5c7eb 100644 --- a/pages/common/rsql.md +++ b/pages/common/rsql.md @@ -9,24 +9,24 @@ - Connect to a database (e.g. PostgreSQL): -`rsql --url {{"postgresql://user:pass@localhost/mydb"}}` +`rsql --url "{{postgresql://user:pass@localhost/mydb}}"` - Connect to a PostgreSQL database with SSL: -`rsql --url {{"postgresql://user:pass@localhost/db?sslmode=require"}}` +`rsql --url "{{postgresql://user:pass@localhost/db?sslmode=require}}"` - Connect to a MySQL database with a specified charset: -`rsql --url {{"mysql://user:pass@localhost/db?charset=utf8mb4"}}` +`rsql --url "{{mysql://user:pass@localhost/db?charset=utf8mb4}}"` - Run a query and exit: -`rsql --url {{"sqlite://database.db"}} -- "SELECT * FROM users LIMIT 10"` +`rsql --url "{{sqlite://database.db}}" -- "{{SELECT * FROM users LIMIT 10}}"` - Set default format: -`rsql --url {{"sqlite://db.sqlite"}} --format json` +`rsql --url "{{sqlite://db.sqlite}}" --format json` - Connect to file and use custom line separator: -`rsql --url {{"delimited://data.txt?separator=|&has_header=true"}}` +`rsql --url "{{delimited://data.txt?separator=|&has_header=true}}"` diff --git a/pages/common/sd.md b/pages/common/sd.md index 11d61097e7..6e2c937d99 100644 --- a/pages/common/sd.md +++ b/pages/common/sd.md @@ -13,8 +13,8 @@ - Find and replace in a specific file (output stream: `stdout`): -`sd {{[-p|--preview]}} {{'window.fetch'}} {{'fetch'}} {{path/to/file.js}}` +`sd {{[-p|--preview]}} '{{window.fetch}}' '{{fetch}}' {{path/to/file.js}}` - Find and replace in all files in the current project (output stream: `stdout`): -`sd {{'from "react"'}} {{'from "preact"'}} "$(find . -type f)"` +`sd '{{from "react"}}' '{{from "preact"}}' "$(find . -type f)"` diff --git a/pages/common/x8.md b/pages/common/x8.md index 66d29cd482..c773426234 100644 --- a/pages/common/x8.md +++ b/pages/common/x8.md @@ -13,7 +13,7 @@ - Send parameters via POST body with JSON format: -`x8 {{[-u|--url]}} {{https://example.com/}} {{[-X|--method]}} {{POST}} {{[-b|--body]}} {{'{"x":{%s\}\}'}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}}` +`x8 {{[-u|--url]}} {{https://example.com/}} {{[-X|--method]}} {{POST}} {{[-b|--body]}} '{{{"x":{%s\}\}}}' {{[-w|--wordlist]}} {{path/to/wordlist.txt}}` - Check parameters with a custom template (`%k` for key, `%v` for value): diff --git a/pages/common/x_x.md b/pages/common/x_x.md index d216056b8c..bb9ffe60da 100644 --- a/pages/common/x_x.md +++ b/pages/common/x_x.md @@ -13,4 +13,4 @@ - View a CSV file with unconventional delimiters: -`x_x {{[-d|--delimiter]}} {{';'}} {{[-q|--quotechar]}} {{'|'}} {{file.csv}}` +`x_x {{[-d|--delimiter]}} '{{;}}' {{[-q|--quotechar]}} '{{|}}' {{file.csv}}` diff --git a/pages/common/xe.md b/pages/common/xe.md index e9354964f7..bcdbf33f82 100644 --- a/pages/common/xe.md +++ b/pages/common/xe.md @@ -17,7 +17,7 @@ - Delete all files with a `.backup` extension: -`find . -name {{'*.backup'}} | xe rm -v` +`find . -name '{{*.backup}}' | xe rm -v` - Run up to `max-jobs` processes in parallel; the default is 1. If `max-jobs` is 0, xe will run as many processes as cpu cores: diff --git a/pages/common/xidel.md b/pages/common/xidel.md index c679c62008..922fa6dc25 100644 --- a/pages/common/xidel.md +++ b/pages/common/xidel.md @@ -9,7 +9,7 @@ - Print the title of all pages found by a Google search and download them: -`xidel {{https://www.google.com/search?q=test}} {{[-f|--follow]}} "{{//a/extract(@href, 'url[?]q=([^&]+)&', 1)[. != '']}}" {{[-e|--extract]}} {{//title}} --download {{'{$host}/'}}` +`xidel {{https://www.google.com/search?q=test}} {{[-f|--follow]}} "{{//a/extract(@href, 'url[?]q=([^&]+)&', 1)[. != '']}}" {{[-e|--extract]}} {{//title}} --download '{{{$host}/}}'` - Follow all links on a page and print the titles, with XPath: diff --git a/pages/linux/blastn.md b/pages/linux/blastn.md index 551a379956..610bc25c33 100644 --- a/pages/linux/blastn.md +++ b/pages/linux/blastn.md @@ -13,7 +13,7 @@ - Align two or more sequences, custom tabular output format, output to file: -`blastn -query {{query.fa}} -subject {{subject.fa}} -outfmt {{'6 qseqid qlen qstart qend sseqid slen sstart send bitscore evalue pident'}} -out {{output.tsv}}` +`blastn -query {{query.fa}} -subject {{subject.fa}} -outfmt '{{6 qseqid qlen qstart qend sseqid slen sstart send bitscore evalue pident}}' -out {{output.tsv}}` - Search nucleotide databases using a nucleotide query, 16 threads (CPUs) to use in the BLAST search, with a maximum number of 10 aligned sequences to keep: diff --git a/pages/linux/esearch.md b/pages/linux/esearch.md index e75938224c..7ec12dc94a 100644 --- a/pages/linux/esearch.md +++ b/pages/linux/esearch.md @@ -10,7 +10,7 @@ - Search the protein database using a query and `regex`: -`esearch -db {{protein}} -query {{'Escherichia*'}}` +`esearch -db {{protein}} -query '{{Escherichia*}}'` - Search the nucleotide database for sequences whose metadata contain insulin and rodents: diff --git a/pages/linux/handlr.md b/pages/linux/handlr.md index 510997c0c0..fa3749cd20 100644 --- a/pages/linux/handlr.md +++ b/pages/linux/handlr.md @@ -17,7 +17,7 @@ - Set MPV as the default application for all audio files: -`handlr set {{'audio/*'}} {{mpv.desktop}}` +`handlr set '{{audio/*}}' {{mpv.desktop}}` - List all default apps: diff --git a/pages/linux/rename.util.md b/pages/linux/rename.util.md index 72a06b55c8..d8cb3489d8 100644 --- a/pages/linux/rename.util.md +++ b/pages/linux/rename.util.md @@ -23,7 +23,7 @@ - Prepend "foo" to all filenames in the current directory: -`rename {{''}} {{'foo'}} {{*}}` +`rename '' '{{foo}}' {{*}}` - Rename a group of increasingly numbered files zero-padding the numbers up to 3 digits: diff --git a/pages/linux/semanage-fcontext.md b/pages/linux/semanage-fcontext.md index 35cd39f032..2483bf0b9e 100644 --- a/pages/linux/semanage-fcontext.md +++ b/pages/linux/semanage-fcontext.md @@ -14,11 +14,11 @@ - Add a user-defined rule that labels any path which matches a PCRE `regex`: -`sudo semanage fcontext {{[-a|--add]}} {{[-t|--type]}} {{samba_share_t}} {{'/mnt/share(/.*)?'}}` +`sudo semanage fcontext {{[-a|--add]}} {{[-t|--type]}} {{samba_share_t}} '{{/mnt/share(/.*)?}}'` - Delete a user-defined rule using its PCRE `regex`: -`sudo semanage fcontext {{[-d|--delete]}} {{'/mnt/share(/.*)?'}}` +`sudo semanage fcontext {{[-d|--delete]}} '{{/mnt/share(/.*)?}}'` - Relabel a directory recursively by applying the new rules: diff --git a/pages/linux/setxkbmap.md b/pages/linux/setxkbmap.md index 7d64cc1be3..fafa0cfeed 100644 --- a/pages/linux/setxkbmap.md +++ b/pages/linux/setxkbmap.md @@ -9,7 +9,7 @@ - Set multiple keyboard layouts, their variants and switching option: -`setxkbmap -layout {{us,de}} -variant {{,qwerty}} -option {{'grp:alt_caps_toggle'}}` +`setxkbmap -layout {{us,de}} -variant {{,qwerty}} -option '{{grp:alt_caps_toggle}}'` - List all layouts: diff --git a/pages/linux/xterm.md b/pages/linux/xterm.md index a0033b6cdd..f1acb370a0 100644 --- a/pages/linux/xterm.md +++ b/pages/linux/xterm.md @@ -21,4 +21,4 @@ - Open the terminal using a Serif font and a font size equal to 20: -`xterm -fa {{'Serif'}} -fs {{20}}` +`xterm -fa '{{Serif}}' -fs {{20}}` diff --git a/pages/windows/invoke-webrequest.md b/pages/windows/invoke-webrequest.md index 734489de2b..2eb0382ef2 100644 --- a/pages/windows/invoke-webrequest.md +++ b/pages/windows/invoke-webrequest.md @@ -18,7 +18,7 @@ - Send data in JSON format, specifying the appropriate content-type header: -`Invoke-WebRequest -Body {{'{"name":"bob"}'}} -ContentType 'application/json' {{http://example.com/users/1234}}` +`Invoke-WebRequest -Body '{{{"name":"bob"}}}' -ContentType 'application/json' {{http://example.com/users/1234}}` - Pass a username and password for server authentication: