From 32231662292eb5821b411b53bbb37d2a1446c4f9 Mon Sep 17 00:00:00 2001 From: epochqwert Date: Sun, 21 Jun 2015 23:22:47 -0500 Subject: htmltablize turns output similar to ps and sockstat into tables. --- nocompile/bin/htmltableize | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 nocompile/bin/htmltableize (limited to 'nocompile/bin/htmltableize') diff --git a/nocompile/bin/htmltableize b/nocompile/bin/htmltableize new file mode 100755 index 0000000..0d4e099 --- /dev/null +++ b/nocompile/bin/htmltableize @@ -0,0 +1,2 @@ +#!/bin/sh +sort ${2:} -k "${1:-1}" | tr -s ' ' | /usr/local/bin/encode_html_entities | sed 's/^//g' | sed 's|$||g' | sed 's| ||g' -- cgit v1.2.3