4 ms·
That was fun. Hint: The file "vehicles" will be easier to deal with using the standard POSIX tools if you translate it into a line-oriented format. Here is a w
by networked 11y ago
That was fun.
Hint: The file "vehicles" will be easier to deal with using the standard POSIX tools if you translate it into a line-oriented format. Here is a way to do it (in rot13):
<iruvpyrf ge '\a' '|' | frq -r 'f/Yvprafr/\aYvprafr/t' > iruvpyrf.ersbeznggrq
An alternative solution is to notice that "vehicles" is almost a valid Recutils [1] file. The fix is as simple as
frq -r '1,4q;f/Yvprafr Cyngr/YvprafrCyngr:/' iruvpyrf > iruvpyrf.erp
You can query the result with `recsel`. (Admittedly, I didn't try this until after solving the mystery.)
[1] https://www.gnu.org/software/recutils/#content https://www.gnu.org/software/recutils/#content