Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pages/common/cadaver.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

`cadaver {{http://dav.example.com/}}`

- Connect to a server using a specific port and open the collection `/foo/bar/`:
- Connect to a server using a specific port and open a collection:

`cadaver {{http://dav.example.com:8022/foo/bar/}}`
`cadaver {{http://dav.example.com:8022/path/to/collection/}}`

- Connect to a server using SSL:

Expand Down
4 changes: 2 additions & 2 deletions pages/common/mlr.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

- Receive JSON data and pretty print the output:

`echo '{"hello":"world"}' | mlr --ijson --opprint cat`
`{{echo '{"key":"value"}'}} | mlr --ijson --opprint cat`

- Sort alphabetically on a field:

Expand All @@ -25,8 +25,8 @@

- Receive JSON and format the output as vertical JSON:

`echo '{"hello":"world", "foo":"bar"}' | mlr --ijson --ojson --jvstack cat`
`{{echo '{"key1":"value1", "key2":"value2"}'}} | mlr --ijson --ojson --jvstack cat`

- Filter lines of a compressed CSV file treating numbers as [S]trings:

Check failure on line 30 in pages/common/mlr.md

View workflow job for this annotation

GitHub Actions / build

trings ==> strings, rings

`mlr --prepipe 'gunzip' {{[-c|--csv]}} filter {{[-S|--infer-none]}} '${{fieldName}} =~ "{{regex}}"' {{example.csv.gz}}`
6 changes: 3 additions & 3 deletions pages/common/npm-adduser.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

- Log in to a private registry with a specific scope:

`npm login --scope {{@mycorp}} --registry {{https://registry.mycorp.com}}`
`npm login --scope {{@organization}} --registry {{https://registry.example.com}}`

- Log out from a specific scope and remove the auth token:

`npm logout --scope {{@mycorp}}`
`npm logout --scope {{@organization}}`

- Create a scoped package during initialization:

`npm init --scope {{@foo}} {{[-y|--yes]}}`
`npm init --scope {{@organization}} {{[-y|--yes]}}`
4 changes: 2 additions & 2 deletions pages/common/robo.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

- Run a specific command:

`robo {{foo}}`
`robo {{command}}`

- Simulate running a specific command:

`robo --simulate {{foo}}`
`robo --simulate {{command}}`
4 changes: 2 additions & 2 deletions pages/common/wget2.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

- Download the contents of a URL to a file using multiple threads (default behavior differs from `wget`):

`wget2 {{https://example.com/foo}}`
`wget2 {{https://example.com/resource}}`

- Limit the number of threads used for downloading (default is 5 threads):

`wget2 --max-threads {{10}} {{https://example.com/foo}}`
`wget2 --max-threads {{10}} {{https://example.com/resource}}`

- Download a single web page and all its resources (scripts, stylesheets, images, etc.):

Expand Down
Loading