Hi I have a list of numbers as follows:
012345
45
023567
c00456
I need to remove any numbers that are not of 6 figures plus remove white space.Ive tried this but for some reason it doesnt work (for removing characters of 2figs)
sed '/^[0-9]\{2\}$/d' filename > otherfilename
Any ideas ?
012345
45
023567
c00456
I need to remove any numbers that are not of 6 figures plus remove white space.Ive tried this but for some reason it doesnt work (for removing characters of 2figs)
sed '/^[0-9]\{2\}$/d' filename > otherfilename
Any ideas ?