Re: ** UNIX shell -- grep behavior different

  • From: Jared Still <jkstill@xxxxxxxxx>
  • To: "ajoshi977@xxxxxxxxx" <ajoshi977@xxxxxxxxx>
  • Date: Thu, 25 Nov 2010 22:27:01 -0800

Assisting with troubleshooting is much easier with a reproducible example.

On Thursday, November 25, 2010, A Joshi <ajoshi977@xxxxxxxxx> wrote:
> hi
>   I have a UNIX shell script that populates a file and then does grep on it. 
> in the shell script it is missing some lines that has the grep string.
> from interactive UNIX session grep I get bigger and  right list. I am using 
> the same exact grep that is in the UNIX shell script. only difference is in 
> the shell script file name is referred to as $flist
> I'm submitting shell script as nohup
> I checked everything. I tried removing the file and re-create.
> it is strange. can someone help. TIA
>
>
>
>
>
> --
> //www.freelists.org/webpage/oracle-l
>
>
>

-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
Oracle Blog: http://jkstill.blogspot.com
Home Page: http://jaredstill.com
--
//www.freelists.org/webpage/oracle-l


Other related posts: