pages*: use " " instead of "=" to separate the options from their arguments (#11952)
* pages*: remove = from GNU-style long options * 7z: readd needed = * 7za: add missing = * 7zr: fix argument and option separation * astyle: readd missing = * aws-ecr: readd missing = * az-devops: readd missing = * csslint: readd missing = * cs-fetch: readd missing = * bzgrep: readd missing = * chromium: readd missing = * docker-commit: remove unnecessary = * docker-system: remove unnecessary = * docker-ps: remove unnecessary = * dockerd: remove unnecessary = * 7za: readd missing = * 7zr: readd missing = * chromium.de: readd missing = * chromium.de: readd missing = * bundletool: remove additional space Co-authored-by: Nicolas Kosinski <nicokosi@users.noreply.github.com> --------- Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Nicolas Kosinski <nicokosi@users.noreply.github.com>
This commit is contained in:
@@ -13,11 +13,11 @@
|
||||
|
||||
- Convert specific Python 2 language features to Python 3:
|
||||
|
||||
`2to3 --write {{path/to/file.py}} --fix={{raw_input}} --fix={{print}}`
|
||||
`2to3 --write {{path/to/file.py}} --fix {{raw_input}} --fix {{print}}`
|
||||
|
||||
- Convert all Python 2 language features except the specified ones to Python 3:
|
||||
|
||||
`2to3 --write {{path/to/file.py}} --nofix={{has_key}} --nofix={{isinstance}}`
|
||||
`2to3 --write {{path/to/file.py}} --nofix {{has_key}} --nofix {{isinstance}}`
|
||||
|
||||
- List all available language features that can be converted from Python 2 to Python 3:
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
|
||||
- Convert all Python 2 files in a directory to Python 3:
|
||||
|
||||
`2to3 --output-dir={{path/to/python3_directory}} --write-unchanged-files --nobackups {{path/to/python2_directory}}`
|
||||
`2to3 --output-dir {{path/to/python3_directory}} --write-unchanged-files --nobackups {{path/to/python2_directory}}`
|
||||
|
||||
- Run 2to3 with multiple threads:
|
||||
|
||||
`2to3 --processes={{4}} --output-dir={{path/to/python3_directory}} --write --nobackups --no-diff {{path/to/python2_directory}}`
|
||||
`2to3 --processes {{4}} --output-dir {{path/to/python3_directory}} --write --nobackups --no-diff {{path/to/python2_directory}}`
|
||||
|
@@ -18,11 +18,11 @@
|
||||
|
||||
- Limit search to files of a specific type:
|
||||
|
||||
`ack --type={{ruby}} "{{search_pattern}}"`
|
||||
`ack --type {{ruby}} "{{search_pattern}}"`
|
||||
|
||||
- Do not search in files of a specific type:
|
||||
|
||||
`ack --type=no{{ruby}} "{{search_pattern}}"`
|
||||
`ack --type no{{ruby}} "{{search_pattern}}"`
|
||||
|
||||
- Count the total number of matches found:
|
||||
|
||||
|
@@ -25,11 +25,11 @@
|
||||
|
||||
- Display logs for a specific PID:
|
||||
|
||||
`adb logcat --pid={{pid}}`
|
||||
`adb logcat --pid {{pid}}`
|
||||
|
||||
- Display logs for the process of a specific package:
|
||||
|
||||
`adb logcat --pid=$(adb shell pidof -s {{package}})`
|
||||
`adb logcat --pid $(adb shell pidof -s {{package}})`
|
||||
|
||||
- Color the log (usually use with filters):
|
||||
|
||||
|
@@ -9,11 +9,11 @@
|
||||
|
||||
- Create a new encrypted vault file using a vault key file to encrypt it:
|
||||
|
||||
`ansible-vault create --vault-password-file={{password_file}} {{vault_file}}`
|
||||
`ansible-vault create --vault-password-file {{password_file}} {{vault_file}}`
|
||||
|
||||
- Encrypt an existing file using an optional password file:
|
||||
|
||||
`ansible-vault encrypt --vault-password-file={{password_file}} {{vault_file}}`
|
||||
`ansible-vault encrypt --vault-password-file {{password_file}} {{vault_file}}`
|
||||
|
||||
- Encrypt a string using Ansible's encrypted string format, displaying interactive prompts:
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
|
||||
- View an encrypted file, using a password file to decrypt:
|
||||
|
||||
`ansible-vault view --vault-password-file={{password_file}} {{vault_file}}`
|
||||
`ansible-vault view --vault-password-file {{password_file}} {{vault_file}}`
|
||||
|
||||
- Re-key already encrypted vault file with a new password file:
|
||||
|
||||
`ansible-vault rekey --vault-password-file={{old_password_file}} --new-vault-password-file={{new_password_file}} {{vault_file}}`
|
||||
`ansible-vault rekey --vault-password-file {{old_password_file}} --new-vault-password-file {{new_password_file}} {{vault_file}}`
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
- Download a file from a URI with a specific output name:
|
||||
|
||||
`aria2c --out={{path/to/file}} "{{url}}"`
|
||||
`aria2c --out {{path/to/file}} "{{url}}"`
|
||||
|
||||
- Download multiple different files in parallel:
|
||||
|
||||
@@ -22,16 +22,16 @@
|
||||
|
||||
- Download the URIs listed in a file with a specific number of parallel downloads:
|
||||
|
||||
`aria2c --input-file={{path/to/file}} --max-concurrent-downloads={{number_of_downloads}}`
|
||||
`aria2c --input-file {{path/to/file}} --max-concurrent-downloads {{number_of_downloads}}`
|
||||
|
||||
- Download with multiple connections:
|
||||
|
||||
`aria2c --split={{number_of_connections}} "{{url}}"`
|
||||
`aria2c --split {{number_of_connections}} "{{url}}"`
|
||||
|
||||
- FTP download with username and password:
|
||||
|
||||
`aria2c --ftp-user={{username}} --ftp-passwd={{password}} "{{url}}"`
|
||||
`aria2c --ftp-user {{username}} --ftp-passwd {{password}} "{{url}}"`
|
||||
|
||||
- Limit download speed in bytes/s:
|
||||
|
||||
`aria2c --max-download-limit={{speed}} "{{url}}"`
|
||||
`aria2c --max-download-limit {{speed}} "{{url}}"`
|
||||
|
@@ -9,7 +9,7 @@
|
||||
|
||||
- Convert a specific `.adoc` file to HTML and link a CSS stylesheet:
|
||||
|
||||
`asciidoctor -a stylesheet={{path/to/stylesheet.css}} {{path/to/file.adoc}}`
|
||||
`asciidoctor -a stylesheet {{path/to/stylesheet.css}} {{path/to/file.adoc}}`
|
||||
|
||||
- Convert a specific `.adoc` file to embeddable HTML, removing everything except the body:
|
||||
|
||||
@@ -17,4 +17,4 @@
|
||||
|
||||
- Convert a specific `.adoc` file to a PDF using the `asciidoctor-pdf` library:
|
||||
|
||||
`asciidoctor --backend={{pdf}} --require={{asciidoctor-pdf}} {{path/to/file.adoc}}`
|
||||
`asciidoctor --backend {{pdf}} --require {{asciidoctor-pdf}} {{path/to/file.adoc}}`
|
||||
|
@@ -13,4 +13,4 @@
|
||||
|
||||
- Generate a configuration script from the specified template (even if the input file has not changed) and write the output to a file:
|
||||
|
||||
`autoconf --force --output={{outfile}} {{template-file}}`
|
||||
`autoconf --force --output {{outfile}} {{template-file}}`
|
||||
|
@@ -13,7 +13,7 @@
|
||||
|
||||
- Run all tests from the specified suite:
|
||||
|
||||
`behat --suite={{suite_name}}`
|
||||
`behat --suite {{suite_name}}`
|
||||
|
||||
- Run tests with a specific output formatter:
|
||||
|
||||
|
@@ -21,7 +21,7 @@
|
||||
|
||||
- Run the profiler and collect 10 samples:
|
||||
|
||||
`blackfire --samples={{10}} run {{php path/to/file.php}}`
|
||||
`blackfire --samples {{10}} run {{php path/to/file.php}}`
|
||||
|
||||
- Run the profiler and output results as JSON:
|
||||
|
||||
|
@@ -21,7 +21,7 @@
|
||||
|
||||
- Batch load data from a specific file in formats such as CSV, JSON, Parquet, and Avro to a table:
|
||||
|
||||
`bq load --location={{location}} --source_format={{CSV|JSON|PARQUET|AVRO}} {{dataset}}.{{table}} {{path_to_source}}`
|
||||
`bq load --location {{location}} --source_format {{CSV|JSON|PARQUET|AVRO}} {{dataset}}.{{table}} {{path_to_source}}`
|
||||
|
||||
- Copy one table to another:
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
|
||||
- Install packages from a specific Brewfile at a specific path:
|
||||
|
||||
`brew bundle --file={{path/to/file}}`
|
||||
`brew bundle --file {{path/to/file}}`
|
||||
|
||||
- Create a Brewfile from all installed packages:
|
||||
|
||||
|
@@ -18,4 +18,4 @@
|
||||
|
||||
- Browse for both SSH and VNC servers in a specified domain:
|
||||
|
||||
`bshell --domain={{domain}}`
|
||||
`bshell --domain {{domain}}`
|
||||
|
@@ -18,4 +18,4 @@
|
||||
|
||||
- Browse for SSH servers in a specified domain:
|
||||
|
||||
`bssh --domain={{domain}}`
|
||||
`bssh --domain {{domain}}`
|
||||
|
@@ -5,28 +5,28 @@
|
||||
|
||||
- Display the `AndroidManifest.xml` of the base module:
|
||||
|
||||
`bundletool dump manifest --bundle={{path/to/bundle.aab}}`
|
||||
`bundletool dump manifest --bundle {{path/to/bundle.aab}}`
|
||||
|
||||
- Display a specific value from the `AndroidManifest.xml` using XPath:
|
||||
|
||||
`bundletool dump manifest --bundle={{path/to/bundle.aab}} --xpath={{/manifest/@android:versionCode}}`
|
||||
`bundletool dump manifest --bundle {{path/to/bundle.aab}} --xpath {{/manifest/@android:versionCode}}`
|
||||
|
||||
- Display the `AndroidManifest.xml` of a specific module:
|
||||
|
||||
`bundletool dump manifest --bundle={{path/to/bundle.aab}} --module={{name}}`
|
||||
`bundletool dump manifest --bundle {{path/to/bundle.aab}} --module {{name}}`
|
||||
|
||||
- Display all the resources in the application bundle:
|
||||
|
||||
`bundletool dump resources --bundle={{path/to/bundle.aab}}`
|
||||
`bundletool dump resources --bundle {{path/to/bundle.aab}}`
|
||||
|
||||
- Display the configuration for a specific resource:
|
||||
|
||||
`bundletool dump resources --bundle={{path/to/bundle.aab}} --resource={{type/name}}`
|
||||
`bundletool dump resources --bundle {{path/to/bundle.aab}} --resource {{type/name}}`
|
||||
|
||||
- Display the configuration and values for a specific resource using the ID:
|
||||
|
||||
`bundletool dump resources --bundle={{path/to/bundle.aab}} --resource={{0x7f0e013a}} --values`
|
||||
`bundletool dump resources --bundle {{path/to/bundle.aab}} --resource {{0x7f0e013a}} --values`
|
||||
|
||||
- Display the contents of the bundle configuration file:
|
||||
|
||||
`bundletool dump config --bundle={{path/to/bundle.aab}}`
|
||||
`bundletool dump config --bundle {{path/to/bundle.aab}}`
|
||||
|
@@ -5,4 +5,4 @@
|
||||
|
||||
- Verify a bundle and display detailed information about it:
|
||||
|
||||
`bundletool validate --bundle={{path/to/bundle.aab}}`
|
||||
`bundletool validate --bundle {{path/to/bundle.aab}}`
|
||||
|
@@ -10,28 +10,28 @@
|
||||
|
||||
- Generate APKs from an application bundle (prompts for keystore password):
|
||||
|
||||
`bundletool build-apks --bundle={{path/to/bundle.aab}} --ks={{path/to/key.keystore}} --ks-key-alias={{key_alias}} --output={{path/to/file.apks}}`
|
||||
`bundletool build-apks --bundle {{path/to/bundle.aab}} --ks {{path/to/key.keystore}} --ks-key-alias {{key_alias}} --output {{path/to/file.apks}}`
|
||||
|
||||
- Generate APKs from an application bundle giving the keystore password:
|
||||
|
||||
`bundletool build-apks --bundle={{path/to/bundle.aab}} --ks={{path/to/key.keystore}} --ks-key-alias={{key_alias}} –ks-pass={{pass:the_password}} --output={{path/to/file.apks}}`
|
||||
`bundletool build-apks --bundle {{path/to/bundle.aab}} --ks {{path/to/key.keystore}} --ks-key-alias {{key_alias}} –ks-pass {{pass:the_password}} --output {{path/to/file.apks}}`
|
||||
|
||||
- Generate APKs including only one single APK for universal usage:
|
||||
|
||||
`bundletool build-apks --bundle={{path/to/bundle.aab}} --mode={{universal}} --ks={{path/to/key.keystore}} --ks-key-alias={{key_alias}} --output={{path/to/file.apks}}`
|
||||
`bundletool build-apks --bundle {{path/to/bundle.aab}} --mode {{universal}} --ks {{path/to/key.keystore}} --ks-key-alias {{key_alias}} --output {{path/to/file.apks}}`
|
||||
|
||||
- Install the right combination of APKs to an emulator or device:
|
||||
|
||||
`bundletool install-apks --apks={{path/to/file.apks}}`
|
||||
`bundletool install-apks --apks {{path/to/file.apks}}`
|
||||
|
||||
- Estimate the download size of an application:
|
||||
|
||||
`bundletool get-size total --apks={{path/to/file.apks}}`
|
||||
`bundletool get-size total --apks {{path/to/file.apks}}`
|
||||
|
||||
- Generate a device specification JSON file for an emulator or device:
|
||||
|
||||
`bundletool get-device-spec --output={{path/to/file.json}}`
|
||||
`bundletool get-device-spec --output {{path/to/file.json}}`
|
||||
|
||||
- Verify a bundle and display detailed information about it:
|
||||
|
||||
`bundletool validate --bundle={{path/to/bundle.aab}}`
|
||||
`bundletool validate --bundle {{path/to/bundle.aab}}`
|
||||
|
@@ -18,4 +18,4 @@
|
||||
|
||||
- Browse for VNC servers in a specified domain:
|
||||
|
||||
`bvnc --domain={{domain}}`
|
||||
`bvnc --domain {{domain}}`
|
||||
|
@@ -17,4 +17,4 @@
|
||||
|
||||
- Change the owner group of a file/directory to match a reference file:
|
||||
|
||||
`chgrp --reference={{path/to/reference_file}} {{path/to/file_or_directory}}`
|
||||
`chgrp --reference {{path/to/reference_file}} {{path/to/file_or_directory}}`
|
||||
|
@@ -25,4 +25,4 @@
|
||||
|
||||
- Change the owner of a file/directory to match a reference file:
|
||||
|
||||
`chown --reference={{path/to/reference_file}} {{path/to/file_or_directory}}`
|
||||
`chown --reference {{path/to/reference_file}} {{path/to/file_or_directory}}`
|
||||
|
@@ -13,7 +13,7 @@
|
||||
|
||||
- Format a file using a predefined coding style:
|
||||
|
||||
`clang-format --style={{LLVM|GNU|Google|Chromium|Microsoft|Mozilla|WebKit}} {{path/to/file}}`
|
||||
`clang-format --style {{LLVM|GNU|Google|Chromium|Microsoft|Mozilla|WebKit}} {{path/to/file}}`
|
||||
|
||||
- Format a file using the `.clang-format` file in one of the parent directories of the source file:
|
||||
|
||||
@@ -21,4 +21,4 @@
|
||||
|
||||
- Generate a custom `.clang-format` file:
|
||||
|
||||
`clang-format --style={{LLVM|GNU|Google|Chromium|Microsoft|Mozilla|WebKit}} --dump-config > {{.clang-format}}`
|
||||
`clang-format --style {{LLVM|GNU|Google|Chromium|Microsoft|Mozilla|WebKit}} --dump-config > {{.clang-format}}`
|
||||
|
@@ -14,7 +14,7 @@
|
||||
|
||||
- Check a given file, specifying which tests to perform (by default only errors are shown):
|
||||
|
||||
`cppcheck --enable={{error|warning|style|performance|portability|information|all}} {{path/to/file.cpp}}`
|
||||
`cppcheck --enable {{error|warning|style|performance|portability|information|all}} {{path/to/file.cpp}}`
|
||||
|
||||
- List available tests:
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
- Check a given file, ignoring specific tests:
|
||||
|
||||
`cppcheck --suppress={{test_id1}} --suppress={{test_id2}} {{path/to/file.cpp}}`
|
||||
`cppcheck --suppress {{test_id1}} --suppress {{test_id2}} {{path/to/file.cpp}}`
|
||||
|
||||
- Check the current directory, providing paths for include files located outside it (e.g. external libraries):
|
||||
|
||||
@@ -30,4 +30,4 @@
|
||||
|
||||
- Check a Microsoft Visual Studio project (`*.vcxproj`) or solution (`*.sln`):
|
||||
|
||||
`cppcheck --project={{path/to/project.sln}}`
|
||||
`cppcheck --project {{path/to/project.sln}}`
|
||||
|
@@ -9,7 +9,7 @@
|
||||
|
||||
- Run on a project where the headers are in the `inc1/` and `inc2/` directories:
|
||||
|
||||
`cppclean {{path/to/project}} --include-path={{inc1}} --include-path={{inc2}}`
|
||||
`cppclean {{path/to/project}} --include-path {{inc1}} --include-path {{inc2}}`
|
||||
|
||||
- Run on a specific file `main.cpp`:
|
||||
|
||||
@@ -17,4 +17,4 @@
|
||||
|
||||
- Run on the current directory, excluding the "build" directory:
|
||||
|
||||
`cppclean {{.}} --exclude={{build}}`
|
||||
`cppclean {{.}} --exclude {{build}}`
|
||||
|
@@ -9,8 +9,8 @@
|
||||
|
||||
- Create a database owned by a specific user with a description:
|
||||
|
||||
`createdb --owner={{username}} {{database_name}} '{{description}}'`
|
||||
`createdb --owner {{username}} {{database_name}} '{{description}}'`
|
||||
|
||||
- Create a database from a template:
|
||||
|
||||
`createdb --template={{template_name}} {{database_name}}`
|
||||
`createdb --template {{template_name}} {{database_name}}`
|
||||
|
@@ -5,12 +5,12 @@
|
||||
|
||||
- Display a human-readable summary of differences between files using a specific column as a unique identifier:
|
||||
|
||||
`csv-diff {{path/to/file1.csv}} {{path/to/file2.csv}} --key={{column_name}}`
|
||||
`csv-diff {{path/to/file1.csv}} {{path/to/file2.csv}} --key {{column_name}}`
|
||||
|
||||
- Display a human-readable summary of differences between files that includes unchanged values in rows with at least one change:
|
||||
|
||||
`csv-diff {{path/to/file1.csv}} {{path/to/file2.csv}} --key={{column_name}} --show-unchanged`
|
||||
`csv-diff {{path/to/file1.csv}} {{path/to/file2.csv}} --key {{column_name}} --show-unchanged`
|
||||
|
||||
- Display a summary of differences between files in JSON format using a specific column as a unique identifier:
|
||||
|
||||
`csv-diff {{path/to/file1.csv}} {{path/to/file2.csv}} --key={{column_name}} --json`
|
||||
`csv-diff {{path/to/file1.csv}} {{path/to/file2.csv}} --key {{column_name}} --json`
|
||||
|
@@ -5,12 +5,12 @@
|
||||
|
||||
- Print a specific character/field range of each line:
|
||||
|
||||
`{{command}} | cut --{{characters|fields}}={{1|1,10|1-10|1-|-10}}`
|
||||
`{{command}} | cut --{{characters|fields}} {{1|1,10|1-10|1-|-10}}`
|
||||
|
||||
- Print a field range of each line with a specific delimiter:
|
||||
|
||||
`{{command}} | cut --delimiter="{{,}}" --fields={{1}}`
|
||||
`{{command}} | cut --delimiter="{{,}}" --fields {{1}}`
|
||||
|
||||
- Print a character range of each line of the specific file:
|
||||
|
||||
`cut --characters={{1}} {{path/to/file}}`
|
||||
`cut --characters {{1}} {{path/to/file}}`
|
||||
|
@@ -25,7 +25,7 @@
|
||||
|
||||
- Display the current date using the RFC-3339 format (`YYYY-MM-DD hh:mm:ss TZ`):
|
||||
|
||||
`date --rfc-3339=s`
|
||||
`date --rfc-3339 s`
|
||||
|
||||
- Set the current date using the format `MMDDhhmmYYYY.ss` (`YYYY` and `.ss` are optional):
|
||||
|
||||
|
@@ -9,23 +9,23 @@
|
||||
|
||||
- Apply a `CMD` Dockerfile instruction to the created image:
|
||||
|
||||
`docker commit --change="CMD {{command}}" {{container}} {{image}}:{{tag}}`
|
||||
`docker commit --change "CMD {{command}}" {{container}} {{image}}:{{tag}}`
|
||||
|
||||
- Apply an `ENV` Dockerfile instruction to the created image:
|
||||
|
||||
`docker commit --change="ENV {{name}}={{value}}" {{container}} {{image}}:{{tag}}`
|
||||
`docker commit --change "ENV {{name}}={{value}}" {{container}} {{image}}:{{tag}}`
|
||||
|
||||
- Create an image with a specific author in the metadata:
|
||||
|
||||
`docker commit --author="{{author}}" {{container}} {{image}}:{{tag}}`
|
||||
`docker commit --author "{{author}}" {{container}} {{image}}:{{tag}}`
|
||||
|
||||
- Create an image with a specific comment in the metadata:
|
||||
|
||||
`docker commit --message="{{comment}}" {{container}} {{image}}:{{tag}}`
|
||||
`docker commit --message "{{comment}}" {{container}} {{image}}:{{tag}}`
|
||||
|
||||
- Create an image without pausing the container during commit:
|
||||
|
||||
`docker commit --pause={{false}} {{container}} {{image}}:{{tag}}`
|
||||
`docker commit --pause {{false}} {{container}} {{image}}:{{tag}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
|
@@ -17,7 +17,7 @@
|
||||
|
||||
- Filter containers that contain a substring in their name:
|
||||
|
||||
`docker ps --filter="name={{name}}"`
|
||||
`docker ps --filter "name={{name}}"`
|
||||
|
||||
- Filter containers that share a given image as an ancestor:
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
|
||||
- Filter containers by status (created, running, removing, paused, exited and dead):
|
||||
|
||||
`docker ps --filter="status={{status}}"`
|
||||
`docker ps --filter "status={{status}}"`
|
||||
|
||||
- Filter containers that mount a specific volume or have a volume mounted in a specific path:
|
||||
|
||||
`docker ps --filter="volume={{path/to/directory}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"`
|
||||
`docker ps --filter "volume={{path/to/directory}}" --format "table {{.ID}}\t{{.Image}}\t{{.Names}}\t{{.Mounts}}"`
|
||||
|
@@ -21,7 +21,7 @@
|
||||
|
||||
- Remove unused data created more than a specified amount of time in the past:
|
||||
|
||||
`docker system prune --filter="until={{hours}}h{{minutes}}m"`
|
||||
`docker system prune --filter "until={{hours}}h{{minutes}}m"`
|
||||
|
||||
- Display real-time events from the Docker daemon:
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
|
||||
- Search for a pattern in all files recursively in a directory, showing line numbers of matches, ignoring binary files:
|
||||
|
||||
`grep --recursive --line-number --binary-files={{without-match}} "{{search_pattern}}" {{path/to/directory}}`
|
||||
`grep --recursive --line-number --binary-files {{without-match}} "{{search_pattern}}" {{path/to/directory}}`
|
||||
|
||||
- Use extended regular expressions (supports `?`, `+`, `{}`, `()` and `|`), in case-insensitive mode:
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
- Print 3 lines of context around, before, or after each match:
|
||||
|
||||
`grep --{{context|before-context|after-context}}={{3}} "{{search_pattern}}" {{path/to/file}}`
|
||||
`grep --{{context|before-context|after-context}} {{3}} "{{search_pattern}}" {{path/to/file}}`
|
||||
|
||||
- Print file name and line number for each match with color output:
|
||||
|
||||
|
Reference in New Issue
Block a user