Path: utzoo!attcan!uunet!aplcen!haven!adm!news From: vilva@csvax.csc.lsu.edu (Vilva Natarajan) Newsgroups: comp.unix.internals Subject: System() function Message-ID: <24826@adm.BRL.MIL> Date: 22 Oct 90 19:20:40 GMT Sender: news@adm.BRL.MIL Lines: 7 I am trying to do system("man cat | wc -c") in my program, and i need to store the value returned by "wc" in a variable declared in my program. I dont want to redirect it to a file and then read from the file. Please advice. vilva@csvax.csc.lsu.edu