Store it in another variable: tail -1 ~/NetBeansProjects/xyz/dist/newlog. Log | grep -q "INFO - Stream closed" RES=$? If $RES = 1 .
Store it in another variable: ... tail -1 ~/NetBeansProjects/xyz/dist/newlog. Log | grep -q "INFO - Stream closed" RES=$? If $RES = 1 ...
Thanks. I was giving a space after RES earlier which was making it an unknown variable. Whitespaces are an issue with shell scripting :P .
Thanks a lot :) – Rohan Oct 1 at 11:03 You're welcome. I often made that mistake. The other most common one for me was not leaving a space after and before for conditionals.
Please accept this answer to save other people time. – John Keyes Oct 1 at 11:04 that I figured out yesterday :D – Rohan Oct 1 at 11:04 I would have accepted it. It was showing 5 minutes are too less to accept.
Done now! :) – Rohan Oct 1 at 13:00.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.