summaryrefslogtreecommitdiff
path: root/tests/rm
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>2011-04-29 12:23:27 +0200
committerJim Meyering <meyering@redhat.com>2011-05-06 22:54:51 +0200
commita09d9e5badacd08058a23dea97bec4e93c0e689a (patch)
tree1dad9de2679d6488086e6b1ba9997413c02ac430 /tests/rm
parenta1f21327eb1e92452098b20d16e25ecd0a9f51c7 (diff)
downloadcoreutils-a09d9e5badacd08058a23dea97bec4e93c0e689a.tar.xz
split: accept new output --filter=CMD option
* src/split.c: Include <signal.h>, <sys/wait.h> and "sig2str.h". (FILTER_OPTION): New anonymous enum member. (filter_command, filter_pid): New globals. (open_pipes, open_pipes_alloc, n_open_pipes): Likewise. (oldblocked, newblocked): Likewise. (longopts): Add "filter". (usage): Document --filter. (create): Extend to create a pipe and fork "sh -c CMD". (closeout): Adapt to close a pipe and wait for child process. (cwrite): Call closeout, not just close. (lines_chunk_split): FIXME (bytes_chunk_extract): FIXME (opid, ofile_open, lines_rr, main): FIXME (ignorable): New function, to encapsulate EPIPE test.
Diffstat (limited to 'tests/rm')
0 files changed, 0 insertions, 0 deletions