1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:57:44 +00:00

strings: Add commonly used long option names for -n and -t

This commit is contained in:
Tim Ledbetter 2023-06-20 18:06:36 +01:00 committed by Andreas Kling
parent ab1e8a7b91
commit a2fb0768ff
2 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@ strings - find printable strings in files
## Synopsis
```**sh
$ strings [-n NUMBER] [--print-file-name] [-t FORMAT] [PATHS...]
$ strings [--bytes NUMBER] [--print-file-name] [--radix FORMAT] [PATHS...]
```
## Description
@ -14,9 +14,9 @@ $ strings [-n NUMBER] [--print-file-name] [-t FORMAT] [PATHS...]
## Options
* `-n NUMBER`: Specify the minimum string length (4 is default).
* `-n NUMBER`, `--bytes NUMBER`: Specify the minimum string length (4 is default).
* `-f`, `--print-file-name`: Print the name of the file before each string.
* `-t FORMAT`: Write each string preceded by its byte offset from the start of the file in the specified `FORMAT`, where `FORMAT` matches one of the following: `d` (decimal), `o` (octal), or `x` (hexidecimal).
* `-t FORMAT`, `--radix FORMAT`: Write each string preceded by its byte offset from the start of the file in the specified `FORMAT`, where `FORMAT` matches one of the following: `d` (decimal), `o` (octal), or `x` (hexidecimal).
## Examples