Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm looking for a program to copy stdin to stdout while showing control characters (like cat -v) and without waiting for an EOF (the input is from a tail -f). I have GNU|Linux; the cat that's installed ignores the -u flag.

share|improve this question

1 Answer 1

BSD cat's -u option disabled output buffering. From man cat:

-u      Disable output buffering.
share|improve this answer
According to the man page on this machine, -u is ignored. –  Blacklight Shining Sep 29 '12 at 11:21
@BlacklightShining Chances are, you're noy using BSD cat –  Daniel Beck Sep 30 '12 at 11:26
Nope, it's GNU cat (or whichever version is standard on Ubuntu). I guess I should've been more specific… –  Blacklight Shining Sep 30 '12 at 12:08

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.