*: fix errors reported by languagetool (#6069)

This commit is contained in:
Seth Falco
2021-08-15 19:59:09 +02:00
committed by GitHub
parent 3fbefc8b77
commit 3e4c519004
281 changed files with 433 additions and 429 deletions

View File

@@ -15,7 +15,7 @@
`afinfo -i {{path/to/file}}`
- Print output in xml format:
- Print output in XML format:
`afinfo -x {{path/to/file}}`

View File

@@ -1,6 +1,6 @@
# caffeinate
> Prevent mac from sleeping.
> Prevent macOS from sleeping.
- Prevent from sleeping for 1 hour (3600 seconds):

View File

@@ -1,6 +1,6 @@
# compgen
> A built-in command for auto-completion in bash, which is called on pressing TAB key twice.
> A built-in command for auto-completion in Bash, which is called on pressing TAB key twice.
- List all commands that you could run:
@@ -14,7 +14,7 @@
`compgen -A function`
- Show shell reserved key words:
- Show shell reserved keywords:
`compgen -k`

View File

@@ -2,11 +2,11 @@
> Convert and copy a file.
- Make a bootable usb drive from an isohybrid file (such like `archlinux-xxx.iso`):
- Make a bootable USB drive from an isohybrid file (such like `archlinux-xxx.iso`):
`dd if={{file.iso}} of=/dev/{{usb_drive}}`
- Clone a drive to another drive with 4MB block and ignore error:
- Clone a drive to another drive with 4 MB block and ignore error:
`dd if=/dev/{{source_drive}} of=/dev/{{dest_drive}} bs=4m conv=noerror`

View File

@@ -10,7 +10,7 @@
`du -h {{path/to/directory}}`
- Show the size of a single directory, in human readable units:
- Show the size of a single directory, in human-readable units:
`du -sh {{path/to/directory}}`

View File

@@ -6,7 +6,7 @@
`m battery status`
- Turn off bluetooth:
- Turn off Bluetooth:
`m bluetooth off`

View File

@@ -10,7 +10,7 @@
`pdfgrep --with-filename --page-number {{pattern}} {{file.pdf}}`
- Do a case insensitive search for lines that begin with "foo" and return the first 3 matches:
- Do a case-insensitive search for lines that begin with "foo" and return the first 3 matches:
`pdfgrep --max-count {{3}} --ignore-case {{'^foo'}} {{file.pdf}}`

View File

@@ -14,7 +14,7 @@
`port installed`
- Update port and fetch latest list of available packages:
- Update port and fetch the latest list of available packages:
`sudo port selfupdate`

View File

@@ -27,7 +27,7 @@
`sed -e 's/{{find}}/{{replace}}/' -e 's/{{find}}/{{replace}}/' {{filename}}`
- Replace separator / by any other character not used in the find or replace patterns, e.g., #:
- Replace separator `/` by any other character not used in the find or replace patterns, e.g. `#`:
`sed 's#{{find}}#{{replace}}#' {{filename}}`

View File

@@ -6,7 +6,7 @@
`stat {{file}}`
- Same as above but verbose (more similar to linux's `stat`):
- Same as above but verbose (more similar to Linux's `stat`):
`stat -x {{file}}`

View File

@@ -6,7 +6,7 @@
`systemsetup -setremotelogin on`
- Specify TimeZone, NTP Server and enable network time:
- Specify timezone, NTP Server and enable network time:
`systemsetup -settimezone {{US/Pacific}} -setnetworktimeserver {{us.pool.ntp.org}} -setusingnetworktime on`

View File

@@ -3,11 +3,11 @@
> Utility for managing Time Machine backups. Most verbs require root privileges.
> More information: <https://ss64.com/osx/tmutil.html>.
- Set a HFS+ drive as the backup destination:
- Set an HFS+ drive as the backup destination:
`sudo tmutil setdestination {{path/to/disk_mount_point}}`
- Set a APF share or SMB share as the backup destination:
- Set an APF share or SMB share as the backup destination:
`sudo tmutil setdestination {{protocol://user[:password]@host/share}}`

View File

@@ -1,13 +1,13 @@
# wifi-password
> Get the password of the wifi.
> Get the password of the Wi-Fi.
> More information: <https://github.com/rauchg/wifi-password>.
- Get the password for the wifi you are currently logged onto:
- Get the password for the Wi-Fi you are currently logged onto:
`wifi-password`
- Get the password for the wifi with a specific SSID:
- Get the password for the Wi-Fi with a specific SSID:
`wifi-password {{ssid}}`

View File

@@ -22,6 +22,6 @@
`yaa archive -a {{algorithm}} -d {{path/to/directory}} -o {{path/to/output.yaa}}`
- Create an archive with an 8MB block size:
- Create an archive with an 8 MB block size:
`yaa archive -b {{8m}} -d {{path/to/directory}} -o {{path/to/output.yaa}}`