when i run
tail -f mylog | sed 'myregex'
sed does not print any results as if it's just putting everything into it's own buffer.
is there any way of getting sed to print as it goes along or is there an equivalent program i could use (can egrep do regex substitutions?).
i'd rather not have to do this in perl.
thx
tail -f mylog | sed 'myregex'
sed does not print any results as if it's just putting everything into it's own buffer.
is there any way of getting sed to print as it goes along or is there an equivalent program i could use (can egrep do regex substitutions?).
i'd rather not have to do this in perl.
thx