How to print a table in shell programing?

Discussion in 'Programming' started by bunbunx2, Jul 17, 2012.

  1. #1
    How to print a table in shell programing? Like formating it sort of like table but output in shell
    and i can define the width of column 1 , 2 and 3 etc.

    E.g


    Column 1 | Column 2 | Column 3

    Data Data 2 Data 3

    Thanks for all help apperciated.
     
    bunbunx2, Jul 17, 2012 IP