Changes for clojure.java.shell/sh

franks42 on Thu, 08 Mar 2012
user=> (use '[clojure.java.shell :only [sh]])
nil

;; note that the options, like :in, have to go at the end of arglist
;; advantage of piping-in thru stdin is less need for quoting/escaping
user=> (println (:out (sh "cat" "-" :in "Printing input from stdin with funny chars like ' \" $@ & ")))
Printing input from stdin with funny chars like ' " $@ & 
nil
franks42 on Thu, 08 Mar 2012
user=> (use '[clojure.java.shell :only [sh]])
nil

user=> ;; note that the options, like :in, have to go at the end of arglist
user=> ;; advantage of piping-in thru stdin is less need for quoting/escaping
user=> (println (:out (sh "cat" "-" :in "Printing input from stdin with funny chars like ' \" $@ & ")))
Printing input from stdin with funny chars like ' " $@ & 
nil
franks42 on Thu, 08 Mar 2012
user=> (use '[clojure.java.shell :only [sh]])
nil

user=> ;; note that the options, like :in, have to go at the end of arglist
user=> ;; advantage of piping-in thru stdin is less need for quoting/escaping
user=> (println (:out (sh "cat" "-" :in "Printing input from stdin")))
Printing input from stdin
nil
franks42 on Thu, 08 Mar 2012
user=> (use '[clojure.java.shell :only [sh]])
nil

user=> ;; note that the options, like :in, have to go at the end of arglist
user=> ;; advantage of piping-in thru stdin is no need for quoting
user=> (println (:out (sh "cat" "-" :in "Printing input from stdin")))
Printing input from stdin
nil
franks42 on Thu, 08 Mar 2012
user=> (use '[clojure.java.shell :only [sh]])
nil

user=> ;; note that the options, like :in, have to go at the end of arglist
user=> (println (:out (sh "cat" "-" :in "Printing input from stdin")))
Printing input from stdin
nil