diff options
author | qwx <devnull@localhost> | 2021-04-12 10:29:54 +0200 |
---|---|---|
committer | qwx <devnull@localhost> | 2021-04-12 10:29:54 +0200 |
commit | dc8da7c232006a6894fd8742ee38c7bdfbc6d702 (patch) | |
tree | ccde3a21c1e27b915f0ccfad6eac1b26fd51b509 /sys/lib/python/compiler/misc.py | |
parent | 5fb37e15b68c5a523485edef7190a1fead96944a (diff) |
crop: allow no-ops for pipelines
unlike other tools like iconv(1), a crop(1) without arguments or with
ones resulting in a no-op, like `-t 0 0', errors out. other options
like `-i 0' do not error. this breaks assumptions and results in
tedious intermediary steps or hacks like:
foo | {crop -t $1 $2 >[2]/null || cat} > baz.bit
instead, just ignore the check. subsequent code doesn't make
assumptions on that.
Diffstat (limited to 'sys/lib/python/compiler/misc.py')
0 files changed, 0 insertions, 0 deletions