3 ms·
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 s
by saulpw 10mo ago
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 https://visidata.org
- simonw 10mo ago(saulpw is the author of VisiData, and it's a marvelous piece of software.)
- 1718627440 10mo agoThanks. Instantly installed as well. Free software is awesome (here: GNU, Linux, APT, and now recutils and visidata)!
- saulpw 10mo agoI guess I should have made that disclaimer myself, thanks for filling in the gap!
- sundarurfriend 10mo agoHas 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).
- VariousPrograms 10mo agoLast I used Visidata, it didn't play nice with fields like %sort (they'd disappear if you re-saved the file) and if you had two fields with the same name in one record they'd get combined into a single field like "Name[2]:" when you re-saved. It might've also killed comments? I'm certainly not surprised it only has basic recfile support, because who use recfiles, but I'd be careful using VD with them for anything but viewing.
- saulpw 10mo agoI haven't put the work into supporting full round-tripping, so yes, at the moment it's mostly useful for reading/viewing. If someone files an issue that would likely go a long way towards getting better support!
- nextaccountic 10mo agoThe 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
- saulpw 10mo agohttps://visidata.org/formats https://visidata.org/formats We keep that list up to date.