ltail grep --line-buffered
This commit is contained in:
@@ -41,7 +41,7 @@ lgrep()
|
|||||||
ltail()
|
ltail()
|
||||||
{
|
{
|
||||||
if [ $# -gt 0 ]; then
|
if [ $# -gt 0 ]; then
|
||||||
tail -f $(lfile) | grep "$@"
|
tail -f $(lfile) | grep --line-buffered "$@"
|
||||||
else
|
else
|
||||||
tail -f $(lfile)
|
tail -f $(lfile)
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user