replace {string:position:length} with printf string | cut -cstart-end