replace -k with the BLOCKSIZE environmental variable