logoalt Hacker News

saulpwlast Sunday at 9:51 PM3 repliesview on HN

I use VisiData[0] to view and modify in bulk. For simple error corrections I just edit the text file. For insertions as part of another process I'll write a simple script that appends a block of test to one of the .rec files.

[0] https://visidata.org


Replies

simonwlast Sunday at 10:00 PM

(saulpw is the author of VisiData, and it's a marvelous piece of software.)

show 2 replies
sundarurfriendlast Sunday at 10:52 PM

Has support for recfiles improved recently? I was overjoyed when I learnt that VisiData had support for recfiles since I'd been getting tired of editing recfiles manually and liked VisiData's UI when working with CSVs and such.

But at least at the time (~2 years ago IIRC), the support was really basic, just basic record display, and most importantly, editing the parts VD didn't understand lead to data loss. I don't remember what I was trying to do - the error report I wrote with those details died with my old machine - but it wasn't anything too complicated, just array fields and foreign keys I believe i.e. just using recfile features one step beyond a listing of `key: value` pairs. I gave up on recfiles as a whole after losing data a few times like this (since I hadn't found any other suitable tool either).

show 1 reply
nextaccounticlast Monday at 9:37 AM

The front page "when you have .. but you need .." doesn't list rec files as a format. What other obscure formats does this support? I can't find a list

show 1 reply