I got the script working and the join works I want to also print the lines not matching. The end result would be printing all lines while joining only lines that start with a specific pattern (41 spaces in this case). My script only prints the joins at this point
Here is the script
{if ($0~/ /)print pl,$0;pl=$0}
I am using awk to run myprob.awk which contains the above script
Here is the script
{if ($0~/ /)print pl,$0;pl=$0}
I am using awk to run myprob.awk which contains the above script