In this lecture we are going to explore but in common.
But firstly let's create a new file called Table that text on the first line.
Right name then you stop and bright H.
And again you stop and Bridey on it on other lines.
I love write information about some people's name age and units.
So do exactly the same as we will use this file for practicing set C'mon
So I have three chords and so I will add two more.
So now I have five records.
So we can save the file now.
Now let's say we want to print the lines which contains but then beat that.
So I said no option needed here then address.
Use Search bottom beat Peter
and specify input file which you will be able to text if Iran does
we see our message missing common this is because we didn't use any said one letter Kemang.
So Ed paint come on.
Represented by letter B and we can Hamleys.
But if you see better line printed two times how is this possible because by default set prints all
aligned to screen as we used print command for a line containing Peter.
We printed this line again.
So this is the reason why we are seeing good FAE's we can suppress printing of each line by set using
option.
And so if to previous command option and we should see only line containing bottom.
Peter
and we see.
OK.
So one time or by default set brings all the lines to standard output using option and we can suppress
that and if you use print command we will see printed only lines we wanted to see.
We can say to said that if you want to display only for example subline.
So in other areas use instead of searching pattern inside slashes some number for example number three
for a circle line followed by set one letter command.
In our case letter B.
And we can see only surd line printed.
We can ensure by printing output of file table the text that John is really in search line.
Do not forget that set by default it doesn't change input file.
So if you previously ran some set commom we didn't change input file.
Now just for recap if you don't use an option and say to set to print subline we see the output of input
file you solid line is printed twice.
We can easily use Range in Andreas for example by saying to myself I'm
the after reading to said do do one letter command only four lines to 7 as a command.
I am using here to be in NDC that everything was printed except for this line.
It doesn't matter.
Dead in my file.
I have only six lines.
If I say in the range do something also for 7 line no error message will be printed by bicep but if
I want to say directly do something for her age ending in last line I can use Dallara sign which represents
number of the last line.