Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
In regular expressions, using grep, search for all lines in file test.txt that have words that end with 5 to 10 "i"'s?
Answer
grep -w '.*i\{5,10\}' test.txt
^^ note the i\{5,10\} syntax

Question
In regular expressions, using grep, search for all lines in file test.txt that have words that end with 5 to 10 "i"'s?
Answer
?

Question
In regular expressions, using grep, search for all lines in file test.txt that have words that end with 5 to 10 "i"'s?
Answer
grep -w '.*i\{5,10\}' test.txt
^^ note the i\{5,10\} syntax
If you want to change selection, open document below and click on "Move attachment"

5. Regular Expressions
rs with \ . 5.3 Regular Expression \{ \} Notation x* matches zero to infinite instances of a character x . You can specify other ranges of numbers of characters to be matched with, for example, <span>x\{3,5\} , which will match at least three but not more than five x 's, that is xxx , xxxx , or xxxxx . x\{4\} can then be used to match 4 x 's exactly: no more and no less. x\{7,\} will match s

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.