Search Results

Search: Posts Made By: anuramdas
9,708
Posted By anuramdas
piping output of tail running in background
Thanks for the replies. Excuse my using wrong terminology - yes i was attempting a coprocess by "tailing" a log file and have its stdout be read by a read in the current script - something like...
9,708
Posted By anuramdas
piping output of tail running in background
Not sure why this does not work in bash:
tail -f err.log |&
-bash: syntax error near unexpected token `&'

I am attempting to continuously read a file that is being updated by doing a "tail -f"...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 12:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy