ltail grep --line-buffered

This commit is contained in:
2023-06-23 15:33:25 +01:00
parent 07285a622f
commit e6b0637efb

View File

@@ -41,7 +41,7 @@ lgrep()
ltail()
{
if [ $# -gt 0 ]; then
tail -f $(lfile) | grep "$@"
tail -f $(lfile) | grep --line-buffered "$@"
else
tail -f $(lfile)
fi