| ▲ | naikrovek 5 hours ago | ||||||||||||||||
I have a command line program at work which outputs json. Pure JSON in all situations. I thought nushell would be able to make sense of that and display it semi-nicely. Nushell pukes on it, errors out, and doesn’t even show the output of the command. As far as sins go for a shell, not showing the output of the program it just ran is very high among them. nushell had its chance with me. | |||||||||||||||||
| ▲ | jknutson 5 hours ago | parent [-] | ||||||||||||||||
With external commands you might have to collect the output of the program before doing any sort of manipulation. I’ve been got by this before too; the fix is simple (for me at least). `external.exe | collect | from json` et voila | |||||||||||||||||
| |||||||||||||||||