lnav/release/tail-demo.sh
a1346054 a362683dc8 [release]: invoke bash through /usr/bin/env
This makes sure that the expected bash is ran, instead of the hardcoded
version which may or may not exist at that path.
2021-08-25 10:58:46 +00:00

20 lines
538 B
Bash
Executable File

#!/usr/bin/env bash
PAUSE_TIME=0.5
while true; do
logger "lnav is always looking for new log messages"
sleep ${PAUSE_TIME}
logger " and files in directories"
sleep ${PAUSE_TIME}
logger "Filters are always applied as new data is loaded in"
logger " which is indicated by the 'Not Shown' count"
logger "bad-message-to-filter"
sleep ${PAUSE_TIME}
logger ""
sleep ${PAUSE_TIME}
logger "Scroll up to lock the view in place"
sleep 3
logger "Data is still being read in the meantime"
done