I have a file which reads like:
PKGINST: LGTOclnt
VERSION: 6.1.1.Build.238
PKGINST: NSCPcom
VERSION: 20.4.70,REV=1999.10.13.17.54
PKGINST: SMCcvs
VERSION: 1.11.5
PKGINST: SMCossh
VERSION: 3.4p1
PKGINST: SMCossl
VERSION: 0.9.6g
how can I write a script to convert it like:
PKGINST: LGTOclnt VERSION: 6.1.1.Build.238
PKGINST: NSCPcom VERSION: 20.4.70,REV=1999.10.13.17.54
PKGINST: SMCcvs VERSION: 1.11.5
PKGINST: SMCossh VERSION: 3.4p1
PKGINST: SMCossl VERSION: 0.9.6g
That is to say, to merge every two line to one line, Thank you.
There are only 10 types of people in the world: Those who understand binary, and those who don't
PKGINST: LGTOclnt
VERSION: 6.1.1.Build.238
PKGINST: NSCPcom
VERSION: 20.4.70,REV=1999.10.13.17.54
PKGINST: SMCcvs
VERSION: 1.11.5
PKGINST: SMCossh
VERSION: 3.4p1
PKGINST: SMCossl
VERSION: 0.9.6g
how can I write a script to convert it like:
PKGINST: LGTOclnt VERSION: 6.1.1.Build.238
PKGINST: NSCPcom VERSION: 20.4.70,REV=1999.10.13.17.54
PKGINST: SMCcvs VERSION: 1.11.5
PKGINST: SMCossh VERSION: 3.4p1
PKGINST: SMCossl VERSION: 0.9.6g
That is to say, to merge every two line to one line, Thank you.
There are only 10 types of people in the world: Those who understand binary, and those who don't