LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Weird issue with -current... (https://www.linuxquestions.org/questions/slackware-14/weird-issue-with-current-347873/)

Aeiri 07-28-2005 10:35 PM

Weird issue with -current...
 
I downloaded all the updates from over the weekend and through this week, and I just now noticed a problem with a mix of tail + grep.

I don't really know how to describe it, so I'll just show you the outputs of a lot of commands.

All of these should output "bob jones", except the first one. However, the one third from the bottom, and the last commands, don't. (I CTRL+C'd the "-f"s after a second)

Code:

aeiri@dalek:~$ echo bob jones > bob
aeiri@dalek:~$ tail -n 1 bob
bob jones
aeiri@dalek:~$ tail -n 1 bob | grep bob
bob jones
aeiri@dalek:~$ tail -n 1 bob | grep jones
bob jones
aeiri@dalek:~$ tail -n 1 bob | grep bob | grep jones
bob jones
aeiri@dalek:~$ tail -fn 1 bob
bob jones

aeiri@dalek:~$ tail -fn 1 bob | grep bob
bob jones

aeiri@dalek:~$ tail -fn 1 bob | grep jones
bob jones

aeiri@dalek:~$ tail -fn 1 bob | grep bob | grep jones

aeiri@dalek:~$ cat bob | grep bob | grep jones
bob jones

aeiri@dalek:~$ tail -fn 1 bob | grep bob | grep bob

aeiri@dalek:~$

This is just strange, I know for a FACT that this used to work fine. Not sure what is going on.... this only happens with tail's -f option, and TWO piped greps after it. Really, really strange. Does anyone else using -current from "Tue Jul 26 23:35:18 PDT 2005" have this as well? Or is this just some weird fluke only for me?

It could have been from before tuesday, I only know that it USED to work, I don't know exactly when this stopped working.

Thanks.

Aeiri 07-28-2005 10:40 PM

Okay, I just realized that I have two computers sitting here... duh.

The other one is WAY out of date, like 2 weeks, maybe 3. THE SAME THING HAPPENS ON IT!

What is this? What is going on?

Has anyone noticed this until now?

I just checked the versions:

grep-2.5-i386-2
coreutils-5.2.1-i486-1 (has tail)

Are the same on both of them. Weird bug.

EDIT: Does anyone have any other distros installed that could verify that this is Slackware only? I am going to check my off site server with SSH that runs Fedora Core to see if that has this problem, too.

Aeiri 07-28-2005 10:58 PM

I just found out that the Fedora Core server has the same problem, so, here's a new thread for this:

http://www.linuxquestions.org/questi...hreadid=347876


All times are GMT -5. The time now is 10:59 AM.