GNU/Linux ◆ xterm-256color ◆ bash 1056 views

i - addcol-incr

] - sort it

= cname if A%2 == 0 else None

‘ freeze new col

‘-‘ remove the original (it is not fillable)

gs - select all rows

f - fill Nulls.

gu - unselect all

C - column sheet

zK 1 - move column left 1

s - select two columns to join

& join

q - back to sheet

z| A%2 == 1 - select odd rows

“ - prune table

Used for: https://github.com/saulpw/visidata/discussions/977