Okay.
Now it's time to talk about the false statement in the budget script.
Now it is the same as programming language, so let's ask it as etch.
So let's remove everything.
Okay.
Now, here, the syntax is like this.
If the space open square the brackets, make sure that there are two spaces.
So there are space here.
And there are spaces here.
Then what?
The arguments.
So, for example, if one.
Then what?
The operator like Daesh.
Equal.
And then to.
Okay.
So as you can see.
There is a space here and there is a space here.
All right.
Because other than that, it will show us problem.
Now, then, this is the syntax, the first argument.
To all.
Else equal.
Sports.
Then we will close it by using the fi.
Statement.
So it is like this.
If one minus equal to as a number, because as you can see, this is used with numbers for string.
We will use equal, equal or exclamation mark equal or which means not equal.
Or here we can use the dash n e oc, which means not equal.
Don't worry, I will provide a complete list with the common test command operators.
No worries.
Now, this example will show us obviously false because it is not equal.
So let's run the as as you can see that it will start showing us false.
All right, now let's have a symbol, another symbol example now here before we enter anything.
So here, let's equal.
In double quotation, please enter a value.
And then read.
Value to this variable.
Now, if this variable or this value, this variable equal to then equal to else equal false, we can
also true, but less like this or comma.
The value is underscore value.
Got me the same thing here.
Just to see what is the value.
The value is and or not underscore.
I mean dollar sign.
Sorry about this.
The dollar sign and yeah let's save.
Okay, now let's run as the test edge.
Now you can see that.
Yeah, I made a typo.
Sorry.
Which is equal.
Not like this.
So.
Yeah, my bad.
Yeah.
As such.
Now it will ask for.
Please interview.
I forget the year, whatever the value will be too.
So you can see through.
Yeah.
The value is to OC.
Now if I run it again, if I type five, for example, it will give us false the value is five, which
means it is not working.
OC Now this is the same thing.
This is four numbers now four strings we will use.
Please enter value.
Let's change this.
Actually, let's fix it.
Okay.
I will not use that equal.
I will use you equal.
Equal and then put a variable here.
So let's name it Apple for example, when the value is whatever the value is, whatever.
Okay, so if this time run it a value, if I type orange, you can see false, the value is orange.
But if I type apple like this here, the value is apple, which is true.
This is for the string.
The same thing for the string not equal.
So instead of equal, just put it not equal shift exclamation mark like that.
As you can see, the batch terminal here on Catalina is very handy and so it is becoming sophisticated.
You can see that it converted that to something like not equal.
So which is something very fancy by the way.
We can also use the F then.
Whatever.
If l if so, which is l?
If like that.
And then again.
But then then.
But whatever.
By the way, you need to put the provider.
So if, for example, value.
Equal.
Arrange it, make sure it is not sensitive.
Because it is sensitive.
Make sure there is space here.
Because otherwise it will show us error.
Make sure there is a space here.
And actually, I want to modify this to be equal, not equal.
So if the value is able through l, f, so ls and f together if the value is orange also let's print.
It is a true.
By the way, the the tab here is not needed.
It's not required.
But because it is just more readable actually.
And tidy.
So it's better to have it here.
So to.
The value is the lifetime value else.
The value is not either orange or apple.
So let's save that as it as the orange.
You can see through it is orange.
The apple through it is apple.
For example, grape.
Of course, the value is great, which is as we expected.
Now, again, this is just a simple example.
We can write more sophisticated examples and use cases.
But for now, this is the essentials.
Don't worry, we will write sophisticated scripts.
Moving forward with this course.