Bulk change: move double quotes outside tokens (#4431)
This commit is contained in:
@@ -17,4 +17,4 @@
|
||||
|
||||
- Convert a C-style calculation:
|
||||
|
||||
`bitwise {{"0x123 + 0x20 - 30 / 50"}}`
|
||||
`bitwise "{{0x123 + 0x20 - 30 / 50}}"`
|
||||
|
@@ -5,15 +5,15 @@
|
||||
|
||||
- Show a notification with a given title and message:
|
||||
|
||||
`dunstify {{"Title"}} {{"Message"}}`
|
||||
`dunstify "{{Title}}" "{{Message}}"`
|
||||
|
||||
- Show a notification with specified urgency:
|
||||
|
||||
`dunstify {{"Title"}} {{"Message}}" -u {{low|normal|critical}}`
|
||||
`dunstify "{{Title}}" "{{Message}}" -u {{low|normal|critical}}`
|
||||
|
||||
- Specify a message ID (overwrites any previous messages with the same ID):
|
||||
|
||||
`dunstify {{"Title"}} {{"Message"}} -r {{123}}`
|
||||
`dunstify "{{Title}}" "{{Message}}" -r {{123}}`
|
||||
|
||||
- To see other possible options:
|
||||
|
||||
|
@@ -4,4 +4,4 @@
|
||||
|
||||
- Change the volume label on a specific ext partition:
|
||||
|
||||
`e2label {{/dev/sda1}} {{"label_name"}}`
|
||||
`e2label {{/dev/sda1}} "{{label_name}}"`
|
||||
|
@@ -9,11 +9,11 @@
|
||||
|
||||
- Set the title of an MP3 file:
|
||||
|
||||
`eyeD3 --title {{"A Title"}} {{filename.mp3}}`
|
||||
`eyeD3 --title "{{A Title}}" {{filename.mp3}}`
|
||||
|
||||
- Set the album of all the MP3 files in a directory:
|
||||
|
||||
`eyeD3 --album {{"Album Name"}} {{*.mp3}}`
|
||||
`eyeD3 --album "{{Album Name}}" {{*.mp3}}`
|
||||
|
||||
- Set the front cover art for an MP3 file:
|
||||
|
||||
|
@@ -9,4 +9,4 @@
|
||||
|
||||
- Set the disc label when creating an ISO:
|
||||
|
||||
`mkisofs -o {{filename.iso}} -V {{"label_name"}} {{path/to/source_directory}}`
|
||||
`mkisofs -o {{filename.iso}} -V "{{label_name}}" {{path/to/source_directory}}`
|
||||
|
@@ -4,16 +4,16 @@
|
||||
|
||||
- Show a notification with the title "Test" and the content "This is a test":
|
||||
|
||||
`notify-send {{"Test"}} {{"This is a test"}}`
|
||||
`notify-send "{{Test}}" "{{This is a test}}"`
|
||||
|
||||
- Show a notification with a custom icon:
|
||||
|
||||
`notify-send -i {{icon.png}} {{"Test"}} {{"This is a test"}}`
|
||||
`notify-send -i {{icon.png}} "{{Test}}" "{{This is a test}}"`
|
||||
|
||||
- Show a notification for 5 seconds:
|
||||
|
||||
`notify-send -t 5000 {{"Test"}} {{"This is a test"}}`
|
||||
`notify-send -t 5000 "{{Test}}" "{{This is a test}}"`
|
||||
|
||||
- Show a notification with an app's icon:
|
||||
|
||||
`notify-send {{"Test"}} --icon={{google-chrome}}`
|
||||
`notify-send "{{Test}}" --icon={{google-chrome}}`
|
||||
|
@@ -13,7 +13,7 @@
|
||||
|
||||
- Create a snapshot with a description:
|
||||
|
||||
`snapper -c {{config}} create -d {{"snapshot_description"}}`
|
||||
`snapper -c {{config}} create -d "{{snapshot_description}}"`
|
||||
|
||||
- List snapshots for a config:
|
||||
|
||||
|
@@ -8,7 +8,7 @@
|
||||
|
||||
- Set the local time of the system clock directly:
|
||||
|
||||
`timedatectl set-time {{"yyyy-MM-dd hh:mm:ss"}}`
|
||||
`timedatectl set-time "{{yyyy-MM-dd hh:mm:ss}}"`
|
||||
|
||||
- List available timezones:
|
||||
|
||||
|
@@ -17,7 +17,7 @@
|
||||
|
||||
- Allow incoming traffic on port 5432 on this host with a comment identifying the service:
|
||||
|
||||
`ufw allow {{5432}} comment {{"Service"}}`
|
||||
`ufw allow {{5432}} comment "{{Service}}"`
|
||||
|
||||
- Allow only TCP traffic from 192.168.0.4 to any address on this host, on port 22:
|
||||
|
||||
|
@@ -17,8 +17,8 @@
|
||||
|
||||
- Show the conversion between two compound units:
|
||||
|
||||
`units {{"meters / second"}} {{"inches / hour"}}`
|
||||
`units "{{meters / second}}" "{{inches / hour}}"`
|
||||
|
||||
- Show the conversion between units with different dimensions:
|
||||
|
||||
`units {{"acres"}} {{"ft^2"}}`
|
||||
`units "{{acres}}" "{{ft^2}}"`
|
||||
|
@@ -16,4 +16,4 @@
|
||||
|
||||
- Only yank fields matching a specific pattern:
|
||||
|
||||
`{{ps ux}} | yank -g {{"[0-9]+"}}`
|
||||
`{{ps ux}} | yank -g "{{[0-9]+}}"`
|
||||
|
Reference in New Issue
Block a user