mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:27:35 +00:00
strings: Add -o
option as an alias for -t o
This commit is contained in:
parent
a2fb0768ff
commit
c723101728
2 changed files with 11 additions and 1 deletions
|
@ -5,7 +5,7 @@ strings - find printable strings in files
|
|||
## Synopsis
|
||||
|
||||
```**sh
|
||||
$ strings [--bytes NUMBER] [--print-file-name] [--radix FORMAT] [PATHS...]
|
||||
$ strings [--bytes NUMBER] [--print-file-name] [-o] [--radix FORMAT] [PATHS...]
|
||||
```
|
||||
|
||||
## Description
|
||||
|
@ -16,6 +16,7 @@ $ strings [--bytes NUMBER] [--print-file-name] [--radix FORMAT] [PATHS...]
|
|||
|
||||
* `-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.
|
||||
* `-o`: Equivalent to specifying `-t o`.
|
||||
* `-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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue