mirror of
https://codeberg.org/scip/tablizer.git
synced 2025-12-18 13:01:11 +01:00
add transpose stuff to README, bump version
This commit is contained in:
16
README.md
16
README.md
@@ -83,6 +83,22 @@ otherwise on all rows.
|
|||||||
|
|
||||||
There are more output modes like org-mode (orgtbl) and markdown.
|
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
|
Last but not least tablizer has support for plugins written in
|
||||||
lisp. This feature is expermental yet. Take a look into the manpage
|
lisp. This feature is expermental yet. Take a look into the manpage
|
||||||
for details.
|
for details.
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const DefaultSeparator string = `(\s\s+|\t)`
|
const DefaultSeparator string = `(\s\s+|\t)`
|
||||||
const Version string = "v1.2.3"
|
const Version string = "v1.3.0"
|
||||||
const MAXPARTS = 2
|
const MAXPARTS = 2
|
||||||
|
|
||||||
var DefaultLoadPath = os.Getenv("HOME") + "/.config/tablizer/lisp"
|
var DefaultLoadPath = os.Getenv("HOME") + "/.config/tablizer/lisp"
|
||||||
|
|||||||
Reference in New Issue
Block a user