https://github.com/easygithdev/filediff
https://github.com/easygithdev/filediff
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/easygithdev/filediff
- Owner: EasyGithDev
- License: mit
- Created: 2022-03-13T15:58:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-13T16:53:29.000Z (about 3 years ago)
- Last Synced: 2025-01-29T23:30:17.085Z (4 months ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FileDiff
## Project display
Simple PHP script to implement a difference between two files.
Consider a file "A" and a file "B" sorted.
A "C" file will contain the new lines.
A "D" file will contain the deleted lines.For example in file A :
```
A
C
D
H
J
```In file B
```
B
C
D
H
I
J
K
L
M
```The result will be in file C
```
B
I
K
L
M
```In file D
```
A
```## Project execution
```sh
php diff.php
```