#!/bin/sh # Usage: lgrep [] # Shorthand for: grep --line-buffer # This is useful when using grep in a pipeline with tail -f or # where buffering would delay output. exec grep --line-buffer "$@"