bash loops to search for all cloumms : I have a huge file of 200,000 rows and 8k columns and looking to loop or if statement in shell to extract the value '0/1' from each column one by one (column wise) and print that column along with first two colmuns with header as well. 

 