+# Here's an example of using the bbgdl tools to perform
+# ad-hoc fetches of Bloomberg Datalicense data.
+bbgdl-make-gethistory-request 20150801 20150901 < mktids > rq
+# Wait for the response to arrive
+REPLYFILENAME=$(grep REPLY rq | cut -d= -f2)
+bbgdl-ls | grep $REPLYFILENAME
+# ..repeat til you see the xxxxx.gz file
+# (See also the datalicense_poll function in libdatalicense.sh)
+bbgdl-get ./${REPLYFILENAME}.gz | bbgdl-decrypt > rawdata
+# Turn it into a nice CSV
+bbgdl-raw-to-tvfd < rawdata > tvfd