HI all,
I want to check if a line end with \ ,if it does I need to attached the next line to it (with one space), with out the \ and so one for the next line. if its not I just need to print it
I must use awk for this. Im using this awk line just to check if the line end up with \ but I get an eror:
awk '{if($NF~/\/) print $1}' input.scs > input_mod.scs
can some one also provide some detales how to continue regarding the second part of the attachment??
thx
meny
I want to check if a line end with \ ,if it does I need to attached the next line to it (with one space), with out the \ and so one for the next line. if its not I just need to print it
I must use awk for this. Im using this awk line just to check if the line end up with \ but I get an eror:
awk '{if($NF~/\/) print $1}' input.scs > input_mod.scs
can some one also provide some detales how to continue regarding the second part of the attachment??
thx
meny