confuseddddd
Programmer
Have an input file we are reading where blanks lines exist within a record grouping and created a nawk script to read the input and then build separate output files based on user....Want to not have blank lines in file,
how can this be accomplished using nawk??? We currently use a field separator of blank to create the separate user files.
INPUT FILE (just a snippet but have multiple rows and sometimes all detail rows exist and sometimes do not)
HEAD USER
DET1
DET2
DET3
END
WANT OUTPUT TO BE:
HEAD
DET1
DET2
DET3
END
Thanks in advance for the input.
how can this be accomplished using nawk??? We currently use a field separator of blank to create the separate user files.
INPUT FILE (just a snippet but have multiple rows and sometimes all detail rows exist and sometimes do not)
HEAD USER
DET1
DET2
DET3
END
WANT OUTPUT TO BE:
HEAD
DET1
DET2
DET3
END
Thanks in advance for the input.