1

Specific a delimiter to separate data into columns

view story
linux-howto

http://stackoverflow.com – I have a set of data name Book.txt and i would like to display them in shell. However im having problems trying to group my data in column with specific delimiter Book.txt contains: Harry Potter 1:Author1:100 Lord Of The Rings:Author2:200 Im able to display the data in Book.txt with the following code: awk -F':' '{print $1 "\t" $2}' ./Book.txt However i would like them to be arrange nicely in columns so i tried using pipeline column awk -F':' '{print $1 "\t" $2}' ./Book.txt | column -s "/t" But when i tried it, it doesnt seem to work. I couldnt use column -t as my title has whitespa (HowTos)