Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-12-2009, 11:31 PM   #16
LQ Newbie
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
Smile Thanks!

I know this thread is quite old but I had the same problem recently. I couldn't figure out why the program after my final pipe wasn't getting the lines from grep when it clearly should have worked. After beating my head against the desk for an hour I finally stumbled on this thread and the --line-buffered option to grep was the magic I needed. Thanks again!


buffer accumulation, buffer flush, stdbuf, tail grep buffer

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] tail and grep issue Wim Sturkenboom Linux - General 6 02-06-2008 08:19 AM
how to use grep and tail to get portion of a file laurasong Linux - General 7 08-20-2007 12:59 AM
grep output on stdout and grep output to file don't match xnomad Linux - General 3 01-13-2007 05:56 AM
Weird tail + grep bug Aeiri Linux - Software 2 12-15-2006 06:30 AM
Help pls!!! grep or tail->restart poj Linux - Software 3 11-26-2004 01:50 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration