mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-25 01:16:32 +08:00
remove one redundancy line
This commit is contained in:
parent
8dcf31d1fa
commit
2e85152da0
1 changed files with 1 additions and 3 deletions
|
@ -268,7 +268,7 @@ mkdir empty && rsync -r --delete empty/ some-dir && rmdir some-dir
|
||||||
|
|
||||||
- The standard tools for patching source code are `diff` and `patch`. See also `diffstat` for summary statistics of a diff and `sdiff` for a side-by-side diff. Note `diff -r` works for entire directories. Use `diff -r tree1 tree2 | diffstat` for a summary of changes. Use `vimdiff` to compare and edit files.
|
- The standard tools for patching source code are `diff` and `patch`. See also `diffstat` for summary statistics of a diff and `sdiff` for a side-by-side diff. Note `diff -r` works for entire directories. Use `diff -r tree1 tree2 | diffstat` for a summary of changes. Use `vimdiff` to compare and edit files.
|
||||||
|
|
||||||
- For binary files, use `hd`, `hexdump` or `xxd` for simple hex dumps and `bvi` or `biew` for binary editing.
|
- For binary files, use `hd`, `hexdump` or `xxd` for simple hex dumps and `bvi`, `hexedit` or `biew` for binary editing.
|
||||||
|
|
||||||
- Also for binary files, `strings` (plus `grep`, etc.) lets you find bits of text.
|
- Also for binary files, `strings` (plus `grep`, etc.) lets you find bits of text.
|
||||||
|
|
||||||
|
@ -452,8 +452,6 @@ A few examples of piecing together commands:
|
||||||
|
|
||||||
- `pv`: monitor the progress of data through a pipe
|
- `pv`: monitor the progress of data through a pipe
|
||||||
|
|
||||||
- `hd`, `hexdump`, `xxd`, `biew` and `bvi`: dump or edit binary files
|
|
||||||
|
|
||||||
- `strings`: extract text from binary files
|
- `strings`: extract text from binary files
|
||||||
|
|
||||||
- `tr`: character translation or manipulation
|
- `tr`: character translation or manipulation
|
||||||
|
|
Loading…
Reference in a new issue