Well, "at least" is rather -- it would be perfect ;-) There is similar question -- Object-oriented shell for *nix . For me similarity with bash is no issue.
I would like to have some simple OOP plus LINQ. For now I am only aware of http://www.scsh.net/ but because of the syntax is a bit overkill.
Maybe I will show you by example what I mean:
run("ls ./").foreach(it => println(it.filesize))
or
run("find -r *.jpg") \
.filter(it => it.datetime<today.adddays(-2)) \
.foreach(it => run("gimp ${it.filename}"))
Is there anything closer to this "dream shell" than scsh?
Why am I asking? Because the more programs I write, the more I am drifting towards functional languages (C++ -> C#+LINQ -> Scala -?-> Clojure), and when yesterday I had to write simple find+print loop in bash it was painful. A man gets easily spoiled with all functional stuff ;-D.
rush
but it seems kinda dead.) – sr_ Jan 30 '12 at 13:33rush
reference -- why didn't you post an answer instead of comment? Please do. – greenoldman Jan 30 '12 at 14:18