Questions tagged [pipes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
116 views

why argc is not counting all commands?

In command line argument example when we run program, it count all cmd argument but in case argc is 2 ? why not 4 ?
1
vote
1answer
229 views

Piping generate pset3

I just wondering if some one can confirm for me that I understand what exactly is going on here when a file gets piped into another program. Generate is producing a certain number of random numbers ...
0
votes
1answer
59 views

./generate 1000 | ./find 42 - output from generate into find

Which part of code in find.c is responsible for accepting and dealing with the output from generate.c? How do we know how to prepare the output of one function for it to be usable as an input for ...