aboutsummaryrefslogtreecommitdiff
path: root/README
blob: 356ab49ef0af5984532483ba4608b1a23ff2e5af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# rsvr -- a in-memory file reservoir

rsvr is a small helper utility that receives data from non-seekable
sources on `stdin` such as a pipe or a socket, placing it into a in-memory
file resorvoir (it also can read from regular, seekable files). When the
source is closed (or end-of-file is reached) the subsequent command is
executed.

There are no options to set. Usage is as simple as

    rsvr <subsequent command with argument>

With the source data being read from `stdin`.

# Example

    # download a PDF from the web and show it using MuPDF
    curl <some URL> | rsvr mupdf /dev/stdin