Skip to content

Commit

Permalink
add transpose stuff to README, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas von Dein committed Jan 14, 2025
1 parent 5f8b687 commit cf5ee09
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,22 @@ otherwise on all rows.

There are more output modes like org-mode (orgtbl) and markdown.

You can also use it to modify certain cells using regular expression
matching. For example:

```shell
kubectl get pods | tablizer -n -T4 -R '/ /-/'
NAME READY STATUS RESTARTS AGE
repldepl-7bcd8d5b64-7zq4l 1/1 Running 1-(69m-ago) 5h26m
repldepl-7bcd8d5b64-m48n8 1/1 Running 1-(69m-ago) 5h26m
repldepl-7bcd8d5b64-q2bf4 1/1 Running 1-(69m-ago) 5h26m
```

Here, we modified the 4th column (`-T4`) by replacing every space with
a dash. If you need to work with `/` characters, you can also use any
other separator, for instance: `-R '| |-|'`.


Last but not least tablizer has support for plugins written in
lisp. This feature is expermental yet. Take a look into the manpage
for details.
Expand Down
2 changes: 1 addition & 1 deletion cfg/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
)

const DefaultSeparator string = `(\s\s+|\t)`
const Version string = "v1.2.3"
const Version string = "v1.3.0"
const MAXPARTS = 2

var DefaultLoadPath = os.Getenv("HOME") + "/.config/tablizer/lisp"
Expand Down

0 comments on commit cf5ee09

Please sign in to comment.