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 linux, sed -e 's/e/E/ [...] ' test.txt, will replace all occurences of e with E in file test.txt
Answer
g
^^ to generally apply the replacement to all found instances of the regex, not just the first!

Question
In linux, sed -e 's/e/E/ [...] ' test.txt, will replace all occurences of e with E in file test.txt
Answer
?

Question
In linux, sed -e 's/e/E/ [...] ' test.txt, will replace all occurences of e with E in file test.txt
Answer
g
^^ to generally apply the replacement to all found instances of the regex, not just the first!
If you want to change selection, open document below and click on "Move attachment"

8. Streams and sed -- The Stream Editor
he same line (usually sed just replaces the first occurrence of the regular expression in each line). (There are other <option> ; see the sed info page.) For demonstration, type sed -e 's/<span>e/E/g' and type out a few lines of English text. 8.7 Regular Expression Subexpressions The section explains how to do the apparently complex task of moving text around within lines. Consi

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.