From 4f4477e673bdd9f3e25dcf5cb61e1ccbfb709e1b Mon Sep 17 00:00:00 2001 From: xztaityozx Date: Sat, 2 Dec 2023 23:46:45 +0900 Subject: [PATCH] docs: update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index d5879fa..2501972 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ $ sel completion zsh > ${fpath[1]}/_sel # Usage ``` + _ ___ ___| | / __|/ _ \ | @@ -60,7 +61,10 @@ Examples: $ cat /path/to/file | sel 1 $ sel 1:10 -f ./file $ cat /path/to/file.csv | sel -d, 1 2 3 4 -- -1 -2 -3 -4 + $ cat /path/to/file.csv | sel --csv 1 2 3 4 $ sel 2:: -f ./file + $ cat /path/to/file | sel /^begin/:/^end/ + $ echo AAA BBB CCC | sel --template 'one: {} two: {} three: {}' 1 2 3 Available Commands: completion Generate completion script @@ -75,6 +79,7 @@ Flags: -D, --output-delimiter string sets field delimiter(output) (default " ") -r, --remove-empty remove empty sequence -S, --split-before split all column before select + -t, --template string template for output --tsv parse input file as TSV -g, --use-regexp use regular expressions for input delimiter -v, --version version for sel