Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xztaityozx committed Dec 2, 2023
1 parent ad67e66 commit 4f4477e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ $ sel completion zsh > ${fpath[1]}/_sel
# Usage

```
_
___ ___| |
/ __|/ _ \ |
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4f4477e

Please sign in to comment.