чување 73a02e71835ca6cefc507e4d916e83d8f9445d96 родитељ 82d299b9fc537dd031f9e19e642967324f971803 Аутор: Страхиња Радић <contact@strahinja.org> Датум: Mon, 12 Oct 2020 18:49:19 +0200 Updated README from wip-2020-10-2 Diffstat:
| M | README | | | 21 | +++++++++++++++++++++ |
измењених датотека: 1, додавања: 21(+), брисања: 0(-)
diff --git a/README b/README @@ -7,8 +7,29 @@ Command line utility to format and display CSV. Install ------- +$ git clone https://github.com/Strahinja/table.git +$ cd table $ make && sudo make install + Examples + -------- + +$ watch "table /proc/loadavg -d \" \" -c 50 -s ss" + + Periodically display CPU load information in a single-line table + + +$ ls -l | tail -n +2 | sed -e 's/ \+/ /g' | table -d " " + + Format a long list of files in the current directory in a double line table + with single-line column divisors + + +$ ls -l | tail -n +2 | awk '{ print $1 " " $9 }' | table -d " " -c 30 + + Like the above, but only permissions and file names are printed in a narrow + table + License -------