Question: Using the Unix command line with grep, what is the regular expression for a grade that can be 0.0, or in the range 0.7 4.0
Using the Unix command line with grep, what is the regular expression for a grade that can be 0.0, or in the range 0.7 4.0 That is, it must match:
- The numeral 0, followed by a period, followed by a zero
- Or the numeral 0, followed by a period, followed by any numeral in the set 7, 8, 9
- Or the numeral 1-3 followed by a period, followed by any numeral
- Or the numeral 4 followed by a period, followed by the numeral 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
