3 ms·
Love it! quinedb can even store an 'extra' snapshot copy of quinedb, with "quinedb" as the key, inside quinedb: quinedb set quinedb `cat quinedb` | sponge q
by cs702 10y ago
Love it!
quinedb can even store an 'extra' snapshot copy of quinedb, with "quinedb" as the key, inside quinedb:
quinedb set quinedb `cat quinedb` | sponge quinedb
sponge, which is part of the moreutils package, soaks up standard input and then writes it to a file.
- drchickensalad 10y agoWhy not cat > quinedb ?
- scott_weber 10y agoSponge delays the overwriting of the input file, so its not trying to read and write quinedb at the same time.