1
00:00:01,060 --> 00:00:08,070
In a set if you have the option to change directly in the file instead of printing the change output

2
00:00:08,100 --> 00:00:08,930
to screen.

3
00:00:09,270 --> 00:00:13,040
But firstly print the content of our file.

4
00:00:13,050 --> 00:00:28,070
Table that text because we will change input file directly to that copy table text 2 tables do dot text.

5
00:00:28,090 --> 00:00:32,220
Now if you would like to print only a line containing button.

6
00:00:32,230 --> 00:00:44,690
Peter the values set with option an s an address we would use a regular expression for searching string.

7
00:00:44,710 --> 00:00:46,190
Peter.

8
00:00:46,780 --> 00:00:58,750
And as a command we would use be a sprint input file would be table to text and under option I.

9
00:00:59,350 --> 00:01:04,630
After optional M and push and then we don't see any output.

10
00:01:04,630 --> 00:01:12,210
This is because we are placing output of said command directly to input file and not to the screen.

11
00:01:12,650 --> 00:01:24,750
If the open input file table to the text if you see only a line with Peter Gade now remove table to

12
00:01:25,230 --> 00:01:36,720
file and create it again by copying original file table that text we can check output of table to the

13
00:01:36,740 --> 00:01:40,940
text.

14
00:01:41,110 --> 00:01:47,420
Let's say we want to change input file by appending line after line with the bottom.

15
00:01:47,420 --> 00:01:47,900
Peter

16
00:01:51,380 --> 00:01:53,040
so bright said

17
00:01:56,760 --> 00:02:04,950
use I as an option will be directly changing input file as an address.

18
00:02:04,950 --> 00:02:09,020
Use Peter that Aguara expression for searching pattern Peter.

19
00:02:09,180 --> 00:02:23,950
And as Kamandi was a B option after Peter input file of be table to the text and we see here that we

20
00:02:23,950 --> 00:02:25,930
have no output printed to the screen.

21
00:02:25,930 --> 00:02:35,010
So let's check content of table to file and we see here new line after line with beat a pattern great

22
00:02:36,210 --> 00:02:39,180
using option I is very powerful.

23
00:02:39,180 --> 00:02:43,130
So be aware that you are affecting the input file.
