how do you pull info from a log and use in script? SOLVED

Here you can exchange scripts that you created or have permission to share with other users.
Message
Author
User avatar
GDixon
Posts: 51
Joined: Fri Nov 02, 2007 4:39 pm

Re: how do you pull info from a log and use in script?

#11 Post by GDixon »

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.,

User avatar
GDixon
Posts: 51
Joined: Fri Nov 02, 2007 4:39 pm

Re: how do you pull info from a log and use in script?

#12 Post by GDixon »

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.

User avatar
GDixon
Posts: 51
Joined: Fri Nov 02, 2007 4:39 pm

Re: how do you pull info from a log and use in script? SOLVE

#13 Post by GDixon »

Starting a new thread to post working scripts

Post Reply

Return to “Scripts”