Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
-
The problem statement, all variables and given/known data:
Is there a grep commands for numbers w/decimal points
Display lines for students with GPA above 3.69 but less than 4.0 -
Relevant commands, code, scripts, algorithms: use of grep
-
The attempts at a solution (include all code and scripts):
grep '\<[3.69-4.00]\>' smallFile
grep: Invalid range end
grep '\<[3.69-4.00]{3}\>' smallFile
grep: Invalid range end
grep '\<[3\.69-4\.00]{3}\>' smallFile
grep: Invalid range end
grep '\<[3\.69-4\.00]\>' smallFile
grep: Invalid range end
grep [3\.69-4\.00] smallFile
grep: Invalid range end
grep [3\.69-4\.00]{3} smallFile
grep: Invalid range end
grep '\<{3\.69-4\.00}\>' smallFile
grep {3\.69-4\.00} smallFile
grep 3\.69-4\.00 smallFile
grep 3.69-4.00 smallFile
grep {3.69-4.00} smallFile
grep [3.69-4.00] smallFile
I have tried a lot of combinations no luck yet
Waubonsee Community College
Sugar Grove Illinois
Professor: Tim Lippold
Linux/UNIX Operating System CIS180
Book being used is Harley Hahn's Guide to Unix and Linux
Note: Without school/professor/course information, you will be banned if you post here! You must complete the entire template (not just parts of it).