This is complete taken from Ryan D on biostar: http://www.biostars.org/p/2909/#16419
It takes a region in a format like "chr2:1234-3456". If an rs number is specified after the region, it will output the R^2 for every SNP in that region with the requested SNP; otherwise, it is all-vs-all.