From 910cb34b09458d69aa95267aa9f3e4f9c540f093 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Thu, 26 Jan 2023 16:49:09 -0800 Subject: [PATCH] formatting --- templates/readme_template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/readme_template b/templates/readme_template index 634e5714..fb17b500 100644 --- a/templates/readme_template +++ b/templates/readme_template @@ -193,12 +193,12 @@ $ cat table.txt ### We want to skip this header ### col1 col2 foo 1 - bar 1 + bar 2 ### We want to skip this footer ### $ cat table.txt | jc 1:-1 --asciitable -[{"col1":"foo","col2":"1"},{"col1":"bar","col2":"1"}] +[{"col1":"foo","col2":"1"},{"col1":"bar","col2":"2"}] $ cat table.txt | jc 1:4 --asciitable -[{"col1":"foo","col2":"1"},{"col1":"bar","col2":"1"}] +[{"col1":"foo","col2":"1"},{"col1":"bar","col2":"2"}] ``` In this example `1:-1` and `1:4` line slices provide the same output.