Sign inSign up

chko/recutils

By chko

Updated over 5 years ago

gnu-recutils

Image
0

522

chko/recutils repository overview

Docker Cloud Build Status

recutils

gnu-recutils on Alpine (Docs)

quickstart
docker run --rm -ti chko/recutils recsel --help
examples
list all utils
$ docker run --rm -ti chko/recutils
available utils:
----------------
rec2csv  recdel   recfix   recfmt   recinf   recins   recsel   recset
pass recfile from host as volume

create dir/file on host:

mkdir $HOME/recfiles
echo '%rec: Item' > $HOME/recfiles/test.rec

write:

docker run --rm -ti -v $HOME/recfiles:/home/ehlo/recfiles chko/recutils /bin/sh -c 'cd /home/ehlo/recfiles && TMPDIR=. recins -t Item -f Content -v "test record" test.rec'

read:

docker run --rm -ti -v $HOME/recfiles:/home/ehlo/recfiles chko/recutils /bin/sh -c 'cd /home/ehlo/recfiles && TMPDIR=. recsel -t Item test.rec'

(Due to a bug TMPDIR needs to point to the same volume as the recfile for writing)

Tag summary

Content type

Image

Digest

Size

9.7 MB

Last updated

over 5 years ago

docker pull chko/recutils