Quick tip for fellow nvi users: you can “Vim-style format JSON with jq” even in old-school vi.
vim: :%!jq .
nvi: :1,$!jq .
Same idea: filter the whole buffer through jq and replace it.
#nvi #vim #jq #unix #slackware
vim: :%!jq .
nvi: :1,$!jq .
Same idea: filter the whole buffer through jq and replace it.
#nvi #vim #jq #unix #slackware