Write Script Perform Following Task Use Simplest Way Come Program Script Takes Two Inputs Q37136164

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


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.