4 ms·
It would have to be a stream anyway, so you could do it for your program by using a fd=3, like: prog 3<input_args or by using a here-document prog 3<<END arg
by silon42 5y ago
It would have to be a stream anyway, so you could do it for your program by using a fd=3, like:
prog 3<input_args
or by using a here-document
prog 3<<END
args
END
- amelius 5y agoWhat if I wanted to do "cat * > ../data.txt" without using special commands designed for large numbers of files?
- PaulDavisThe1st 5y agoOne-by-one processing: find $start [ criteria ] --exec cat {} \; >> ../data.txt