3 lines
172 B
Bash
Executable file
3 lines
172 B
Bash
Executable file
#!/bin/sh
|
|
# [c]at the given files as prettified [j]son
|
|
cat "$@" | while read -r line; do echo -n "$line" | python3 -m json.tool; done | bat --language json --style numbers
|