Minutes 2025-10-09: Difference between revisions

m
no edit summary
(initial commit)
 
mNo edit summary
 
### <code>grep</code> just takes from stdin
#### If you run <code>grep</code> without providing a filename, you can just type into it to have strings recognized
#### <code>grep</code> doesn't ''know'' we're typing its input, it just receivedreceives it through stdin
#### The developers didn't have to do anything special to enable this to happen
## Pipe<code>pipe()</code>
### Pipe just takes in an array of integers
### Populated the array with two file description
### Multiple processes can interact with it because it's just a file
## Questions
### How does <code>popen()</code> handle the inputinputted command?
#### Ron checked the manpage
#### Apparently just passes it to: <code>/bin/sh -c <arg></code>