Hallo Again,
I have a file like this:
First_Name = John
my_last_name = Doe
I would like to get:
<name>John Doe</name>
I am doing this:
/^(First_Name|my_last_name)/ {r=r" "$3; next}; r {print"<name>"r"</name>"; r=""}
But the result is:
<name> John Doe</name>
Can anybody tell me how to get rid of that space after <name> ?
I have a file like this:
First_Name = John
my_last_name = Doe
I would like to get:
<name>John Doe</name>
I am doing this:
/^(First_Name|my_last_name)/ {r=r" "$3; next}; r {print"<name>"r"</name>"; r=""}
But the result is:
<name> John Doe</name>
Can anybody tell me how to get rid of that space after <name> ?