pallet / stevedore

A shell script embedding in clojure
93 stars 14 forks source link

Unable to use operands with command substitution #20

Open tmountain opened 11 years ago

tmountain commented 11 years ago

I'm trying to do the following:

(set! FILENAME @(date +(quoted "foo_%Y_%m_%d.pg")))

The output I want is:

FILENAME=$(date +"foo_%Y_%m_%d.pg")

Instead I'm getting:

FILENAME=$(date + "foo_%Y_%m_%d.pg") # invalid syntax...