3
votes
3answers
105 views

How to format my text file for better appearance?

I want to format my text file for better appearance. So I want any command or any shell script which will format my file as per my expectation. Input File: Index Name City 1. Ravi Bhuva Ahmedabad 2. ...
2
votes
2answers
136 views

convert lines to fixed column length

I would like to simply take a given text file and enforce a maximum column length of say 80. How can I turn this: Four score and seven years ago our fathers brought forth on this continent, a new ...