buggrep - Bugs: bug #39475, grep corrupts output _sometimes_...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #39475: grep corrupts output _sometimes_ (not reproducible)

Submitted by:  NIck <simnim>
Submitted on:  Fri 12 Jul 2013 08:21:56 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Fri 12 Jul 2013 08:21:56 PM UTC, original submission:

Here's an abbreviated example command line that sometimes gives me corrupt output:
#When it feels like corrupting stuff ->

> cat $MY_FILE | grep '^something'

something blah blah chr1 123456 1 0 0

#When it feels like doing it correctly

> cat $MY_FILE | grep '^something'

something blah blah chr1 123456 - 1 0 0

The commands are identical. (Yes, I've strcomp'd them.)
Notice the missing dash after the 123456
Not good.

This is especially troublesome considering grep is essential.

> uname -a

Linux my_server 3.8.0-25-generic #37-Ubuntu SMP Thu Jun 6 20:47:07 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

> grep --version

grep (GNU grep) 2.14
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Mike Haertel and others, see <http://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>.

NIck <simnim>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by simnim (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup