[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sed -> needs to wait for EOF?
From: |
danial |
Subject: |
sed -> needs to wait for EOF? |
Date: |
Thu, 16 May 2002 12:11:45 +1000 |
User-agent: |
Mutt/1.3.28i |
It seems that you can't use sed when following a file.
Example:
tail -f /tmp/foo | sed -e s/foo/bar/g &
echo 123foo456 > /tmp/foo
You would expect that 123bar456 would be printed to your screen somewhere by
the tail command, but it's not.
My only conclusion here is that sed needs the EOF before it can print
anyhting, I came to this conclcusion because if you are not doing a -f on your
tail, then it works fine.
cheers
Danial Pearce
- sed -> needs to wait for EOF?,
danial <=