I wrote a Python script that lets me pipe 'clamd' style RPC commands to it. I was having trouble running up against the maximum shell command length when trying to use clamd to create and send large raw transactions.
It lets me do things like this:
$ # test raw transaction with duplicated output address
$ echo 'createrawtransaction [] {"xJDCLAMZw7oNy2cUXAwnxbrkqyimL54zto":1,"xJDCLAMZw7oNy2cUXAwnxbrkqyimL54zto":2}' | clams | \
sed 's/^/decoderawtransaction /' | clams | grep value
"value": 1.0,
"value": 2.0,
$ # get last 8 bytes of 'proofhash' from most recent block
$ echo getblockcount | clams | sed 's/^/getblockhash /' | clams | sed 's/^/getblock /' | clams | grep proofhash | cut -d'"' -f4 | cut -c49-
0c6278c211c66693
The Python source is
here.
Edit:
I should mention that the script comes with no warranty. It nearly cost me
3200 CLAMs earlier:

I've since fixed that bug, but there could be others.
Just to tell you how we control this shit: That stupid 150 BTC buy wall was from us, and the sell order of +40,000 CLAMS was us too.
The 50k sell was mostly matched with the 129 BTC buy wall. So you appear to be saying that you just bought 43000 CLAMs from yourself for 129 BTC? That seems like a silly thing to do on an exchange. Couldn't you have come to a private agreement between your various selves off-exchange? Or were you sacrificing the fees to bump CLAM up to 2nd place by daily volume?
Just kidding. We know who sold into that buy wall. It was a Just-Dice investor. I helped him make the withdrawal, and he announced his dump seconds before it happened.