Write a script to perform the following task. Use the simplestway you can come up with.
Your program/script takes two inputs: a file (containing singlecolumn tokens) and a number which will be the number of columns inthe output.
(example below shows 3 columns)
input file:
t1
t2
t3
t4
t5
… many more tokens
output :
t1 t2 t3
t4 t5 t6
“In shell”
Solution