Hi there,
I have a file like this
1Header
2data
2data
3trailer
I want to remove all the data lines, they start with a 2, where columns 31&32 have a value other than zero. The lines have no spaces ie.e. they are all zero filled (so that rules out AWK i think)
Does anyone have any suggestions as to how I do this, as my shell scripting is patchy at best and I'm stuck!!!
Thanks
I have a file like this
1Header
2data
2data
3trailer
I want to remove all the data lines, they start with a 2, where columns 31&32 have a value other than zero. The lines have no spaces ie.e. they are all zero filled (so that rules out AWK i think)
Does anyone have any suggestions as to how I do this, as my shell scripting is patchy at best and I'm stuck!!!
Thanks