With some changes here and changes there I have commands working and doing as expected now to put all the bits and pieces together and have it work as a tied together and functioning script
tac, grep and awk are all new to me, this is the first time I have had to use them for anything. What a learning experience this shall be for the next few weeks or months.,
how do you pull info from a log and use in script? SOLVED
Re: how do you pull info from a log and use in script?
wow, looks like i will be using tac, awk and grep a lot. looking into case also.
tac is nice to read from the bottom since greg makes that hard to do on it's own.
Still doing a lot of reading on awk also.
ok I have it all figured out and working well in scripts. I'll clean them up and see about making them a bit smaller and post them here later.
Thanks for pointing me in the right direction and giving a helping hand Adrian and Kmathern!
Without the help I would still be struggling with this no doubt.
tac is nice to read from the bottom since greg makes that hard to do on it's own.
Still doing a lot of reading on awk also.
ok I have it all figured out and working well in scripts. I'll clean them up and see about making them a bit smaller and post them here later.
Thanks for pointing me in the right direction and giving a helping hand Adrian and Kmathern!
Without the help I would still be struggling with this no doubt.
Re: how do you pull info from a log and use in script? SOLVE
Starting a new thread to post working scripts