~strahinja/ste
#Name

ste(1) - Simple table editor

Version 0.3.1, 14 Sep 2023

#Synopsis

ste [-hv] [tsvfile.tsv]

#Description

ste is a simple interactive CLI table editor. It uses table(1) to display and a number of POSIX shell scripts, which use vipe(1) from moreutils to edit files in TSV (Tab Separated Values) format.

#Command line options

ste -h

Prints usage information.

ste -v

Prints version and commit date.

#Interactive commands

ste accepts interactive commands in its command interface. Accepted commands are:

/ [colno] text

Search for text in all columns, continuing the search downwards as needed. If colno is given, limit the search to column number colno (1-based).

When the last row was reached without a match, the user will be prompted whether to continue the search from the first row.

=

Show current row.

cols [amount]

Set screen width in columns to amount. The value of 0 causes ste to autodetect screen width on each cycle. If amount is omitted, show current screen width.

delete | x

Delete the current table row.

edit | e

Edit the current table row.

exit | q

Exit ste.

G

Set current row to last.

g [num]

Set current table row to num (header = 0). If num is not present, set current row to header row.

help [command] | h [command]

Show help (about a command). If the argument command is omitted, briefly list all commands.

insert [- | +] | i [- | +]

Add a row to the table before (-) or after (+) the current line, or, without arguments, to the end of table.

J [num]

Move the current row down num rows. If num is omitted, move the row down.

j [num]

Move the current row pointer down num rows. If num is omitted, move the row pointer down.

K [num]

Move the current row up num rows. If num is omitted, move the row up.

k [num]

Move the current row pointer up num rows. If num is omitted, move the row pointer up.

n

Find next occurence of previously searched text. If the argument colno was given in the last search, the search will reuse it.

print | p

Print (redraw) the table.

rows [amount]

Set screen height in lines to amount. The value of 0 causes ste to autodetect screen height on each cycle. If amount is omitted, show current screen height.

set [[no]option]

Turn option on/off. If argument is omitted, show all current option states.

#See Also

table(1), transpose(1), tsvdel(1), tsvedit(1), tsvfind(1), tsvins(1), tsvmove(1), vipe(1)

#Authors

Strahinya Radich, https://strahinja.org

About this wiki

commit 0cf13d3ac4341f30065065cd58c51ad7a03dc8c8
Author: Страхиња Радић <contact@strahinja.org>
Date:   2023-09-14T15:07:59+02:00

index.md: Update to 0.3.1

Signed-off-by: Страхиња Радић <contact@strahinja.org>
Clone this wiki
https://git.sr.ht/~strahinja/ste (read-only)
git@git.sr.ht:~strahinja/ste (read/write)