Clojure can certainly do these things; clojure-contrib contains many file and io-related utilities. But remember that Clojure, like any Java program, takes more time to start up than "scripting" languages like Perl/Bash/Ruby/Python, so it may be less suitable for programs that you intend to run at the command-line.
-SS On Feb 3, 4:50 pm, ajay gopalakrishnan <ajgop...@gmail.com> wrote: > Hi, > > I was wondering if the time is right to replace Perl/Bash/Ruby/Python with > Clojure for system administration / dev productivity scripts. I would not do > things in Java (for obvious reasons), but clearly Clojure is more concise > than Java in most cases. > I would however want to know in detail if it is suitable for Sysadmin tasks > like the following: > > 1. Count # words in a folder , Count # files of particular extension in a > folder or search regular expression > 2. Search for a particular regexp in a search path > 3. Copy files from one folder to another > 4. Walk through a directory structure > 5. Fork another program and read it's results > > I've gone through this tutorialhttp://java.ociweb.com/mark/clojure/, but > please point me to clojure.contribs that will make these kind of tasks > easier. > > Thanks > Ajay -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en