Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Parsing file using shell script

Avatar of vassim1977
vassim1977 asked on
Shell Scripting
3 Comments1 Solution348 ViewsLast Modified:
Hi  i have the following text file that i need to parse using shell script . What i need is basically
to transform the file to be in format

firstline +space + secondline

//////////////////////////////////// Result text file ////////////////////////////////
US TLS Italian :00
US TLS Spanish :00
US HOSTED :00
..
..
etc

///////////////////////////   Initial text file /////////////////////////////
US TLS Italian
:00
US TLS Spanish
:00
US HOSTED
:00
US HOSTED P1
:00
US INSTALL
:00
US INSTALL P1
:00
US NETWORK
:00
US NETWORK P1
:00
US OS
:00
US OS P1
:00
US OTHER
:00
US OTHER P1
:00
US PLT1
:00
US PSOD
:00
US PSOD P1
:00
US STORAGE
:00
US STORAGE P1
:00