Hi Experts,
Am relatively new to shell programming so would appreciate some help in this regard.
I am looking at reading from a file, line by line, picking the first word of each line and appending it to the end of the line.
Any suggestions?
INPUT FILE -
3735051 : 10gdb_nonfa_noldapsync_ps2 : http://dte.com/dte30/faces/monitorPage/jobId=
3735052 : 11gdb_nonfa_noldapsync_ps2 : http://dte.com/dte30/faces/monitorPage/jobId=
3735053 : 112gdb_nonfa_noldapsync_ps2 : http://dte.com/dte30/faces/monitorPage/jobId=
This is how id like my output file to look like -
3735051 : 10gdb_nonfa_noldapsync_ps2 : http://dte.com/dte30/faces/monitorPage/jobId=3735051
3735052 : 11gdb_nonfa_noldapsync_ps2 : http://dte.com/dte30/faces/monitorPage/jobId=3735052
3735053 : 112gdb_nonfa_noldapsync_ps2 : http://dte.com/dte30/faces/monitorPage/jobId=3735053
TIA
