Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Consider the following command:

elinks -dump file.html

It will print the file, formatted as plain text (without HTML tags).

The file.html is constantly updated (a new data is appended) and I want to run it through "tail -f like this:

tail -f file.html | elinks -dump

However it's not working. Any ideas?

share|improve this question

1 Answer 1

up vote 1 down vote accepted
tail -n +1 -f file.html | while read line; do elinks -dump $line; done;

Try this one.

share|improve this answer
accepted with the following fix: tail -n +1 -f file.html | while read line; do echo $line | elinks -dump; done; – dimba Apr 25 '13 at 5:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.