Dan Nelson wrote: > > In the last episode (Oct 20), Tom Worster said: >> is there a cli command that lays out tsv files for display with a fixed >> width font? >> >> that is, it figures how wide each column needs to be and pads each field >> in the file with a suitable about of space? > > The "rs" command should do what you want, if you can figure out the > correct > commandline options. It's not easy, though... >
thanks dan. i spent a happy while reading the rs man page over and over, trying every every combination of flag. afaict, rs wants to make all the columns the same width. that doesn't work for me. a typical data file i want to review might have 6 columns, 5 of which are limited width and fairly narrow while the other other varies from one character to needing a widescreen 27" display. so the other feature i need is truncation of the rare extra-long values in that last column. if i knew perl... -- View this message in context: http://www.nabble.com/Display-TSV-files-with-columns-aligned-tp25979622p26002056.html Sent from the freebsd-questions mailing list archive at Nabble.com. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"