diff --git a/examples/ghcupMac.jac b/examples/ghcupMac.jac new file mode 100644 index 00000000..9e169ab9 --- /dev/null +++ b/examples/ghcupMac.jac @@ -0,0 +1,5 @@ +{. strings $(which ghcup) | ja run ... +:set fs:=/:\s*/; + +(λl. option (sprintf '%s (distributed with GHC)' l) [x] (l ~* 1 /(.*)-[a-f0-9]{8}/)) + ¨(.?{%/"id"/}{`2 ~* 1 /"(.*)"/})