diff options
author | NRK <nrk@disroot.org> | 2021-11-19 16:08:01 +0600 |
---|---|---|
committer | N-R-K <79544946+N-R-K@users.noreply.github.com> | 2021-11-19 17:02:50 +0600 |
commit | 2df33208d76159ffacffce3c8a8edc3a5ad7ea7b (patch) | |
tree | 8ce2bcd800b175640b07b84235b504ccc4ba8c39 /commands.h | |
parent | 4a282da692fa7b8471c1399b30010de80448bda9 (diff) |
apply -0 to stdin/-i as well
while i was initially against this since it can be done via `xargs -0`.
the problem with this approach is that there's a limit to how many args
a command can recieve, leading to problem like this [0] when opening
large (1k~) amount of images.
there's no limit on how big stdin can be, so being able to read a
null-separated list from stdin doesn't have this problem.
[0]: https://github.com/ranger/ranger/pull/2307#issuecomment-818683515
Diffstat (limited to 'commands.h')
0 files changed, 0 insertions, 0 deletions