mirror of https://codeberg.org/anemofilia/zero
radio: files: .local/bin: Add prettify-sexp
parent
069a6b7989
commit
4fae41c85b
|
@ -0,0 +1,10 @@
|
||||||
|
#!/usr/bin/env -S guile
|
||||||
|
!#
|
||||||
|
|
||||||
|
(use-modules (ice-9 pretty-print)
|
||||||
|
(ice-9 match))
|
||||||
|
|
||||||
|
(pretty-print
|
||||||
|
(match (command-line)
|
||||||
|
[(_) (read)]
|
||||||
|
[(_ str) (with-input-from-string str read)]))
|
Loading…
Reference in New Issue