stest: restore stream testing
This commit is contained in:
parent
2ef2230c91
commit
1d944814cf
@ -13,7 +13,8 @@ stest \- filter a list of files by properties
|
|||||||
.B stest
|
.B stest
|
||||||
takes a list of files and filters by the files' properties, analogous to
|
takes a list of files and filters by the files' properties, analogous to
|
||||||
.IR test (1).
|
.IR test (1).
|
||||||
Files which pass all tests are printed to stdout.
|
Files which pass all tests are printed to stdout. If no files are given, stest
|
||||||
|
reads files from stdin.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.B \-a
|
.B \-a
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||