aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/SUMMARY.md1
-rw-r--r--src/tools/README.md1
-rw-r--r--src/tools/column.md10
3 files changed, 12 insertions, 0 deletions
diff --git a/src/SUMMARY.md b/src/SUMMARY.md
index a6e1a07..7a2155e 100644
--- a/src/SUMMARY.md
+++ b/src/SUMMARY.md
@@ -18,6 +18,7 @@
- [pacman](./tools/pacman.md)
- [dot](./tools/dot.md)
- [ffmpeg](./tools/ffmpeg.md)
+ - [column](./tools/column.md)
- [Resource analysis & monitor](./monitor/README.md)
- [lsof](./monitor/lsof.md)
diff --git a/src/tools/README.md b/src/tools/README.md
index fd8ee7e..0b1666c 100644
--- a/src/tools/README.md
+++ b/src/tools/README.md
@@ -15,3 +15,4 @@
- [pacman](./pacman.md)
- [dot](./dot.md)
- [ffmpeg](./ffmpeg.md)
+- [column](./column.md)
diff --git a/src/tools/column.md b/src/tools/column.md
new file mode 100644
index 0000000..4a3b2c4
--- /dev/null
+++ b/src/tools/column.md
@@ -0,0 +1,10 @@
+# column(1)
+
+## Examples
+```sh
+# Show as table (aligned columns), with comma as delimiter from stdin.
+echo -e 'a,b,c\n111,22222,33' | column -t -s ','
+
+# Show file as table.
+column -t -s ',' test.csv
+```