Combine fields and eliminate white space
Good Morning,
Newbie here. Could someone help with shell scripting that will enable me to combine 2 fields into one eliminating the white space. The fields are fixed but the data of course varies.
For example:
First Name: "George " 20 positions"
Last Name: "Washington " 30 positions"
I need to create one field with First and Last Name eliminating the space after George into a fixed field length of 50.
Result:
Name: "George Washington "
Appreciate any help.
Thanks.
|