Skip to content

Commit e5587d1

Browse files
committed
better dock
1 parent 684efb2 commit e5587d1

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

readme.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@ This is especially useful with csv/tsv/psv files:
1111

1212
This script expect input of two `sorted` text files. If the files are not sorted, the unix `sort` command may be of help: https://en.wikipedia.org/wiki/Sort_(Unix)
1313

14-
> ForEach line in File1, compare to line in File2
15-
>
16-
> equal: incr both files to next line
17-
>
18-
> line1 > line2: new line detected, incr File2 to next line
19-
>
20-
> line1 < line2: deleted line, incr File1 to next line
14+
```
15+
ForEach line in File1, compare to line in File2
16+
equal: incr both files to next line
17+
line1 > line2: new line detected, incr File2 to next line
18+
line1 < line2: deleted line, incr File1 to next line
19+
```
2120

2221
Since the list will be `sorted`, the performance of this script is expected to be approximately `O(|A| log |A| + |B| log |B|)`, where A is File1 and B is File2.
2322

0 commit comments

Comments
 (0)