From 06bb2c51086ae8646e34cd262192d3fc48face43 Mon Sep 17 00:00:00 2001 From: Prithvi Raj Date: Fri, 17 Apr 2026 15:52:25 +0000 Subject: [PATCH] Fix wrong comment in pipe.c 08/pipe.c line 29: comment said "runs word count" but execvp runs "echo", not "wc" Co-Authored-By: Claude Sonnet 4.6 --- 08/pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/08/pipe.c b/08/pipe.c index c201f50..34d9336 100644 --- a/08/pipe.c +++ b/08/pipe.c @@ -26,7 +26,7 @@ int main(int argc, char *argv[]) { myargs[0] = strdup("echo"); myargs[1] = strdup("i will get printed in capital letters!!"); myargs[2] = NULL; // marks end of array - execvp(myargs[0], myargs); // runs word count + execvp(myargs[0], myargs); // runs echo } else { // parent goes down this path (original process) close(p[1]);