diff options
author | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
---|---|---|
committer | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
commit | 06e5c21a835c0e923506c4ff27929f34e00761c2 (patch) | |
tree | 75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /build/scripts/cat.py | |
parent | 03f024c4412e3aa613bb543cf1660176320ba8f4 (diff) | |
download | ydb-06e5c21a835c0e923506c4ff27929f34e00761c2.tar.gz |
fix ya.make
Diffstat (limited to 'build/scripts/cat.py')
-rwxr-xr-x | build/scripts/cat.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/build/scripts/cat.py b/build/scripts/cat.py deleted file mode 100755 index 0c3f73d96f..0000000000 --- a/build/scripts/cat.py +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env python -import sys -from shutil import copyfileobj as copy -import os.path - -if __name__ == '__main__': - for filename in sys.argv[1:] or ["-"]: - if filename == "-": - copy(sys.stdin, sys.stdout) - else: - if os.path.exists(filename): - with open(filename, 'rb') as file: - copy(file, sys.stdout) - else: - sys.stderr.write('cat.py: {0}: No such file or directory\n'.format(filename)) |