Hi I have a file with 5 digits zipcodes.
I am trying to use grep to print the zip codes starting 9 and can only contain digits between 4-7
The command I am using is
grep '[4-7], 9'$ zipcodesDataEntry.cvs
The problem is I am getting zipcodes that have the digits 1 2 3 8 My output should be:
95544 94554 94445 95567
However, I am getting some zipcodes such as:
I am trying to exclude any numbers that are not 9 and in the range of 4-7