n=0;repeat 8 n+=`tr 01 10<<<$n`;<<<$n