Home > clojure > Clawk = Awk cut with Clojure

Clawk = Awk cut with Clojure

I know Clojure pretty well. I don’t know Awk quite as well and don’t need it quite enough to ever learn it deeply. I don’t want Perl either. I’d rather just write Clojure code for simple text processing. So, lately I’ve been using Clawk. It works for me. Bad idea, or worst idea? A tiny example:

$ echo -e "1\n2\n3\n" | clawk -r '(* $ $)'
1
4
9
Categories: clojure Tags:
  1. No comments yet.
  1. No trackbacks yet.