Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Aligning delimited columns

by hbm (Hermit)
on May 31, 2013 at 10:19 UTC ( #1036254=note: print w/replies, xml ) Need Help??


in reply to Aligning delimited columns

No need to pipe the file into sed (i.e., why read the file twice?)

sed 's/;;/;;@@/g' file.txt | column -s '@@' -t

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1036254]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (1)
As of 2021-09-26 14:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?