diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2024-12-06 20:45:18 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-12-06 20:45:18 +0530 |
commit | b23942399870baeae376c6c9c59defd99c0e9d53 (patch) | |
tree | e8587011933263d81b2bb01e1bb60925e253b8d0 /diff.py | |
parent | 91c9685c00eb1273fdfb32db7fd63adafcbeb25a (diff) |
move to scripts/
Diffstat (limited to 'diff.py')
-rw-r--r-- | diff.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/diff.py b/diff.py deleted file mode 100644 index 226248f..0000000 --- a/diff.py +++ /dev/null @@ -1,18 +0,0 @@ -import sys - -if len(sys.argv) != 3: - print(f'Usage: {sys.argv[0]} ONE TWO') - -one = open(sys.argv[1]).read().split('\n') -two = open(sys.argv[2]).read().split('\n') - -print(f'{sys.argv[2]} doesn\'t contain:\n') -for i in one: - if i not in two: - print(i) - -print('\n\n\n') -print(f'{sys.argv[1]} doesn\'t contain:\n') -for i in two: - if i not in one: - print(i) |