In this lecture we can fix those fine lines displayed on the same line.
But first of IVC that error because we are using eco command with barometer Desch and which makes next
month to be printed on the same line.
So if we remove that Barometer from last month would it be enough.
No it is not enough because of what happens if space stops are present only at the beginning of a line.
In that case would be last month.
Not this one.
We removed and barometer.
So as easy fix we can add in this if statement else keyboard
and just the right and the eco command without any barometer.
And directly to our file.
So in that case there is no space issue.
At the end of a line we each time and vent and the eco command which creates by default newline.
Now we can test the
whole can you see that it isn't working perfectly.
We can clearly see spaces stubs.
This looks amazing.
If we fix this and recheck again we don't see any issues.
Amazing.
But I don't kind of like that.
Dan a message of fixing space is issues.
Maybe it would have better if that done what would be displayed at the bottom and maybe with a green
background.
So let's change the script a little bit.
Firstly we can remove that Eco command which purines message.
Dom
Denn at the end of our script we can ask if user has specified fix barometer
and if user has specified fixed parameter we can print them in a green background for a green background.
We are using back so if the
get 42 and
and we change background to default on using the like a bit of good forty nine and
now the script is dumb.
So you can save it and if you can retested.
So I fill up some spaces and taps into our testing file
and now we will see
Scribd highlighted space and tub's issues.
But how do folks looks like
down a key vote in a green background.
GRAY So our script is dumb.
Now it is up to you if you play motivated and change it to your needs for example you can when using
fixed barometer display only done message and not all the lines from the file.
Also when checking for space stop issues you can show all the lines VGF some issue and not print those
lines which are correct.
There is many possibilities how to change descript.
If this part of writing the script was too quick for you I recommend going through set part again and
then again watch lectures.
Read the art of writing the script Thanks for watching.
And now the fun begins.
You are able to create any kind of script yourself if you are struggling with something.
Go back to the course and vote again.
Lectures about topic you are struggling but keep in mind that most do you can learn by writing your
own scripts.
I wish you good luck with death.