Can I use jq to prettify a file in place?

Subscribers:
4,140
Published on ● Video Link: https://www.youtube.com/watch?v=HVFMUocgEKA



Duration: 2:29
1 views
0


Can I use jq to prettify a file in place?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(unix.stackexchange.com/users/58060/stuperuser)StuperUser |
(unix.stackexchange.com/users/116858/kusalananda)Kusalananda |
A special thanks goes out to the (https://unix.stackexchange.com/questions/721970/can-i-use-jq-to-prettify-a-file-in-place)Stackexchange community |

I wish you all a wonderful day! Stay safe :)




Other Videos By Peter Schneider


2022-10-27Clang 14 and 15 apparently optimizing away code that compiles as expected under Clang 13, ICC, GC...
2022-10-27What's the point of a write-only collection?
2022-10-27Does a VPN hide the Device's name in a Local Network?
2022-10-27Processing a specific part of a text according to pattern from AWK script
2022-10-27What does "a collection of autonomous computers interconnected by a single technology" exactly mean?
2022-10-27For loop that takes turns between printing one thing or the other python
2022-10-27What is the iptables equivalent to what socat does?
2022-10-27tar suppress message "Treating date ... as ..."
2022-10-27postfix: conditionally ignoring certain "User unknown in virtual mailbox table" errors when using...
2022-10-27How do I persuade a remote Postfix to allow relaying from my ISP-assigned IP address?
2022-10-27Can I use jq to prettify a file in place?
2022-10-27How do I subtract from every second[i][1] element in a 2d array?
2022-10-27An exception has occurred: issuerId is required
2022-10-27How can I find dot files (or folders) in the Finder?
2022-10-27Finding relative ordering of two lists
2022-10-27C++ reference to a variable on its initialization [duplicate]
2022-10-27Add the missing numbers in the table in order
2022-10-27How to capture one digit with sed and replace the other?
2022-10-27return index of file in folder based on file creation date
2022-10-27Why does Windows always reports slightly wrong sizes when formatting a disk?
2022-10-27dead ssd drive on zfs points to initramfs



Tags:
shell
jq