in reply to extract the tail from a string (with new lines) containing a substring
Maybe just leave this running
tail -F file-B | grep --line-buffered -A 3 -B 3 xxx >>file-A
and just look at file-A every 20 minutes...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: extract the tail from a string (with new lines) containing a substring
by jjmoka (Beadle) on Jan 22, 2020 at 22:56 UTC |