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


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

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

Submitter:  NIck <simnim>
Submitted:  Fri 12 Jul 2013 08:21:56 PM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Sat 22 Aug 2015 03:53:57 AM UTC, comment #2: 
Jenson <frogbot>
Sat 22 Aug 2015 03:24:40 AM UTC, comment #1: 

<a href="http://www.zombiegamesomg.com">zombie games</a>

Jenson <frogbot>
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>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by frogbot (Posted a comment)
  • -email is unavailable- added by simnim (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-ee12.
    Corresponding source code