mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:57:45 +00:00
Base: Add manpages for cut, diff, head & rmdir command line utilities
This commit is contained in:
parent
87068896d0
commit
d364c8e352
4 changed files with 155 additions and 0 deletions
31
Base/usr/share/man/man1/diff.md
Normal file
31
Base/usr/share/man/man1/diff.md
Normal file
|
@ -0,0 +1,31 @@
|
|||
## Name
|
||||
|
||||
diff - compare files line by line
|
||||
|
||||
## Synopsis
|
||||
|
||||
```**sh
|
||||
$ diff [files...]
|
||||
```
|
||||
|
||||
## Description
|
||||
|
||||
Compare `files` line by line.
|
||||
|
||||
## Arguments
|
||||
|
||||
* `files`: files to compare ex: `file1 file2`
|
||||
|
||||
## Examples
|
||||
|
||||
```sh
|
||||
# View differences in two files
|
||||
$ echo 123 > file1
|
||||
$ echo 456 > file2
|
||||
$ diff file1 file2
|
||||
1c1
|
||||
< 123
|
||||
---
|
||||
> 456
|
||||
```
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue