1

Gawk - to extract values from multi lined file

view story
linux-howto

http://www.unix.com – Hi, I am new to awk and trying to extract some specific fields from the a large file. Can you please help me to write gawk code displaying the out put in the below format: Desired Output: Code: name      fallback_ip  member    member www-trymps.extlb.plstry.com-pool-1      180.254.112.50  180.254.112.50:80 187.222.112.50:80 www-trymps.extlb.plstry.com-pool-2 180.254.112.52  180.254.112.52:80 187.222.112.52:80 www-trymps.extlb.plstry.com-pool-3 180.254.112.53  180.254.112.53:80 187.222.112.53:80 Sample file: Code: pool { (HowTos)