From 6ab4d0859f32d96af2b39a95d943ffeab0d4d713 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Wed, 17 Jan 2024 23:22:22 +0100 Subject: column: add example to format data as table --- src/tools/column.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/tools/column.md (limited to 'src/tools/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 +``` -- cgit v1.2.3