1
00:00:01,100 --> 00:00:08,010
In this lecture we're going to talk about Option B which allows us to run multiple sets of commands

2
00:00:08,420 --> 00:00:13,460
for still a check output of our profile table text.

3
00:00:13,560 --> 00:00:18,210
Now let's say that if you want to print only lines of each contains string.

4
00:00:18,240 --> 00:00:27,660
Mark and after printing we would like to exit with exit code to use both print and click command

5
00:00:35,800 --> 00:00:37,790
VRA receiving error message.

6
00:00:37,900 --> 00:00:43,130
Extra character after Command has set uses only one command.

7
00:00:43,150 --> 00:00:45,130
We can all use two commands.

8
00:00:47,260 --> 00:00:48,820
But we have him here.

9
00:00:48,940 --> 00:01:00,980
We should use the expression so that after an option would also Option key and use only one command.

10
00:01:01,030 --> 00:01:04,040
For example bringed.

11
00:01:04,070 --> 00:01:10,950
Now this should print a line which contains the mark but we also want exit with error code.

12
00:01:10,970 --> 00:01:16,050
So create a new set command with options and an option.

13
00:01:16,070 --> 00:01:27,190
The address will be the same containing search pattern Mike and now views only commands with exit status

14
00:01:27,280 --> 00:01:28,900
to.

15
00:01:28,920 --> 00:01:35,840
So basically if you want to run multiple set commands you need to split it and use Option E and if you

16
00:01:35,840 --> 00:01:38,540
see printed line with Mark.

17
00:01:39,000 --> 00:01:41,090
But what is it that was here.

18
00:01:41,520 --> 00:01:45,140
We see Number Two great.

19
00:01:45,170 --> 00:01:47,670
Now let's bring in our file table.

20
00:01:47,690 --> 00:01:56,440
Thanks again and let's say that we want to append and prepend some text to one specific line so we use

21
00:01:56,530 --> 00:01:56,930
option.

22
00:01:56,930 --> 00:02:08,190
The address will be marked and with append line with text after Mark.

23
00:02:08,670 --> 00:02:11,540
Then Veals again option B

24
00:02:14,610 --> 00:02:19,990
and will prebend line before the line containing string.

25
00:02:20,010 --> 00:02:25,890
Mark and venal prepend text before Monnick

26
00:02:32,480 --> 00:02:39,370
and we can see that before the line with button mark is printed before Mark and after a line with that

27
00:02:39,380 --> 00:02:47,330
Mark he sprinted after my great views both append and prepared comments.
