[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why does grep [^0-9] become grep u?
From: |
David Liontooth |
Subject: |
Re: Why does grep [^0-9] become grep u? |
Date: |
Fri, 23 Feb 2007 01:16:15 -0800 |
User-agent: |
Icedove 1.5.0.9 (X11/20061220) |
David Liontooth wrote:
> 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
>
>
>
I tracked down the cause -- I had a symlink in my home directory:
u -> /mnt/flash
When the command was given in that directory, or a cronjob ran under
that user, it failed as above.
Any explanation for why this would happen?