Re: Viewing Text Output

2003-10-02 Thread Bret Hughes
On Thu, 2003-10-02 at 10:13, Brett Franck wrote: > Bret, > This worked great, THANK YOU!!! > Brett > Bret, > This worked great!! THANK YOU!!! Plus it's much faster vs Grepping twice > (my way was slower) > Brett > Glad it worked Please don't top post you never really know when a thread is dead.

Re: Viewing Text Output

2003-10-02 Thread Brett Franck
er 01, 2003 3:05 PM Subject: Re: Viewing Text Output > On Wed, 2003-10-01 at 10:20, Brett Franck wrote: > > Hi, > > > > I am trying to view log files using GREP and variable substitution. Let's say a user wants to view a log file for "Sep 30" Here is the sh

Re: Viewing Text Output

2003-10-01 Thread Bret Hughes
On Wed, 2003-10-01 at 10:20, Brett Franck wrote: > Hi, > > I am trying to view log files using GREP and variable substitution. Let's say a > user wants to view a log file for "Sep 30" Here is the shell (BASH) script that I > put together for it. > > #!/bin/sh > cd /routerlogs > echo > date >

Viewing Text Output

2003-10-01 Thread Brett Franck
Hi,   I am trying to view log files using GREP and variable substitution.  Let's say a user wants to view a log file for "Sep 30"  Here is the shell (BASH) script that I put together for it.   #!/bin/sh cd /routerlogsechodateechodate=`date | cut -c5-7`echo "Which Date Do You Wish to Parse?: