In a set we can easily remove lines which contains search pattern or we can them for example third or
fourth line or any other number line.
So it started.
But firstly let's check how our final table the text looks like.
Now let's remove all the lines which contains pattern ID.
So what I set as an address is a regular expression for searching I-T.
And as a common use D which means move and we can of course need to specify an input file table to text
and we see that lines containing I-T that are removed.
Great.
Now let's recheck how Luke's content of table file we see everything.
Without any change as we only removed 80 lines from being printed in standard output.
We didn't change the actual file.
Now open our table file and change your name from lowercase to uppercase
and we can use the same command we use previously for deleting lines containing staying I-T
VC dead the first line was also removed.
Which is correct because it has Potten ID invert unit but would like to keep first line Berzon.
So let's change our address with search but then we need to specify address to match lines only with
the unit we can do that by adding up before I-T.
Because when I created the file I used stop instead of spaces to make table more readable if used spaces
between words age and event.
You can use blank or space character class instead.
So that's the right set as a command.
Use the
for others use character class.
For example space
followed by vord I the
and do a change for file table got text
and great.
We see that first line is present and only lines with the unit were removed.
Valks perfectly.