Hello, I am trying to write a tee filter in C language, almost like the UNIX utility. But I have no idea where to begin can anybody give me a direction I should start in.

Recommended Answers

All 3 Replies

Two FILE streams, a and b, write the same to both.

a tee filter what in the world is that............

a tee filter what in the world is that............

It's a common UNIX utility. Basically, you pipe the output of one command to tee, and it acts like a "tee" pipe in plumbing, allowing you to output to to different places, like STDOUT and a file, at the same time.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.