ncol
ncol is a command-line utility that reformats lines of text from standard input or a file. Its primary function is to arrange input lines into a specified number of columns. By default, ncol will determine the number of columns needed to fit the widest line into a terminal width of 80 characters. However, users can explicitly specify the desired number of columns using the -c option. For example, ncol -c 3 will attempt to arrange the input into three columns.
The tool reads input line by line and then distributes these lines into columns. If the input
ncol is particularly useful for displaying lists or data that has been extracted from other commands in