|
From: | Philip Durbin |
Subject: | Re: Piping tail -f to fold: tail -f log.txt | fold |
Date: | Fri, 09 Jan 2009 16:09:49 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.14eol) Gecko/20081209 Red Hat/1.0.9-32.el4 SeaMonkey/1.0.9 |
Pádraig Brady wrote:
Philip Durbin wrote:To word wrap the output of a growing log file I tried. . . $ tail -f log.txt | fold -s. . . and it works fine on NetBSD and Mac OS X, but on the two Linux distributions I tried (Red Hat and SUSE) I get no output.
[snip]
Can you see if this works around the problem for you: tail -f log.txt | LC_ALL=C fold -s
This is *exactly* what I wanted. Thanks, Pádraig! Phil
[Prev in Thread] | Current Thread | [Next in Thread] |