Hi,
I have an AWK script that worked until the data format changed. The 14th & 15th spaces are named RSV. This used to be only one space (until recently). Based on the value in RSV, I will print to a file in using PrintA or PrintB (different formats).
1545016908374 AVL111111
1545011234567M AVL111111
I was using
if (rsv!=" "
print..... (Use PrintA)
else
print..... (Use PrintB)
When the 15th position did not exist, this worked. Now RSV is two characters/digits. How do I test for a null value??
Thank you
I have an AWK script that worked until the data format changed. The 14th & 15th spaces are named RSV. This used to be only one space (until recently). Based on the value in RSV, I will print to a file in using PrintA or PrintB (different formats).
1545016908374 AVL111111
1545011234567M AVL111111
I was using
if (rsv!=" "
print..... (Use PrintA)
else
print..... (Use PrintB)
When the 15th position did not exist, this worked. Now RSV is two characters/digits. How do I test for a null value??
Thank you