bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why does grep [^0-9] become grep u?


From: David Liontooth
Subject: Why does grep [^0-9] become grep u?
Date: Fri, 23 Feb 2007 00:04:55 -0800
User-agent: Icedove 1.5.0.9 (X11/20061220)

In two windows of the same KDE konsole, I get this:

$ echo aa | strace grep [^0-9]
execve("/bin/grep", ["grep", "u"], [/* 31 vars */]) = 0

$ echo aa | strace grep [^0-9]
execve("/bin/grep", ["grep", "[^0-9]"], [/* 31 vars */]) = 0

Something on my system got reset -- any new terminal I open interprets
[^0-9] as u.  What's going on?

Dave


grep                    2.5.1.ds2-6

Debian sid amd64




reply via email to

[Prev in Thread] Current Thread [Next in Thread]