Skip to main content

Questions tagged [pipes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
225 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 ?
Pritesh Kumar's user avatar
1 vote
1 answer
234 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 ...
William Kenney's user avatar
0 votes
1 answer
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 ...
pharmacist's user avatar