Feb 11, 2004 #1 concino Programmer Jan 18, 2004 7 US how can i filter the numbers between 25-30? (the range is included) grep '[2][5-9]' filename; filters only 25 to 29. is there a solution for 25-30? thanks for the response.
how can i filter the numbers between 25-30? (the range is included) grep '[2][5-9]' filename; filters only 25 to 29. is there a solution for 25-30? thanks for the response.
Feb 11, 2004 #2 PHV MIS Nov 8, 2002 53,708 FR Have you tried this ? Code: grep -E '2[5-9]|30' If your grep flavor don't like the -E option, then use egrep. Hope This Help, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 Upvote 0 Downvote
Have you tried this ? Code: grep -E '2[5-9]|30' If your grep flavor don't like the -E option, then use egrep. Hope This Help, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884