aboutsummaryrefslogtreecommitdiffstats
path: root/util/shredder/readme
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-20 13:18:44 -0800
committerfriendica <info@friendica.com>2015-02-20 13:18:44 -0800
commit8eedc9d5766df8d57815bdd38e5fa5e3757e7555 (patch)
treecedfc98cc3a3adf1f9b94c98e0c8f57f508bdc9b /util/shredder/readme
parentff5c3b009fa25e87e294cd458d3de4b677270c64 (diff)
downloadvolse-hubzilla-8eedc9d5766df8d57815bdd38e5fa5e3757e7555.tar.gz
volse-hubzilla-8eedc9d5766df8d57815bdd38e5fa5e3757e7555.tar.bz2
volse-hubzilla-8eedc9d5766df8d57815bdd38e5fa5e3757e7555.zip
updated install doc
Diffstat (limited to 'util/shredder/readme')
-rw-r--r--util/shredder/readme11
1 files changed, 11 insertions, 0 deletions
diff --git a/util/shredder/readme b/util/shredder/readme
new file mode 100644
index 000000000..44ed6f45c
--- /dev/null
+++ b/util/shredder/readme
@@ -0,0 +1,11 @@
+http://kmkeen.com/jshon/
+
+
+
+Jshon was made to be part of the usual text processing pipeline. However, every single -u is printed out to its own line. Most shell tools expect fields to be tab separated, and newlines between sets of fields. The paste tool does this. However, paste breaks down on blank lines so use sed to pad out the empty lines.
+
+jshon ... | sed 's/^$/-/' | paste -s -d "\t\t\n" | ....
+
+The arguments need a little explaining.
+-s is mysteriously needed for paste to correctly handle input.
+-d is less obvious from the manpage, because it can take multiple characters which are looped through. The above example concatenates every three lines together.