Search Results

Search: Posts Made By: boncuk
2,396
Posted By Don Cragun
Your statement of what you're trying to do is...
Your statement of what you're trying to do is ambiguous. Writing a regular expression to match 01, 03, 05, 07, 10, or 11 in character positions 9 and 10 is easy (and RudiC has shown you REs that do...
2,396
Posted By RudiC
You said you wanted the 11? Why, then, is the...
You said you wanted the 11? Why, then, is the second "wrong" wrong?


In your regex, you want 00 in positions 9 and 10. And, you may want to reread the regex documentation, as (man regex): So...
1,902
Posted By vgersh99
sorry forgot 01: sed -e...
sorry forgot 01:

sed -e '/^[0-9]\{8\}0[1357]/d'
1,902
Posted By vgersh99
something along these lines: sed -e...
something along these lines:

sed -e '/^[0-9]\{8\}0[357]/d'
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 01:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy