Thread: Piping OUTPUT from 1 script, and using it as INPUT for a different script

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Apr 2011
    Posts
    308
    I wish he would use C since I don't know command. Or is that command part of the compiling done in C?

  2. #2
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Quote Originally Posted by jeremy duncan View Post
    I wish he would use C since I don't know command. Or is that command part of the compiling done in C?
    This whole post was not really a C programming question; it was a question on how to invoke multiple C programs and use pipes and redirection during the command invokes.

    Tim S

  3. #3
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by jeremy duncan View Post
    I wish he would use C since I don't know command. Or is that command part of the compiling done in C?
    You don't know how to use the DOS or Shell command lines?
    Best learn... it's an integral part of knowing what you're doing as a programmer.

  4. #4
    Registered User
    Join Date
    Jun 2011
    Posts
    12
    Quote Originally Posted by jeremy duncan View Post
    I wish he would use C since I don't know command. Or is that command part of the compiling done in C?
    Hi, I tried to do it in C, however I found it too difficult, I ended up trying to create child processes for each execution of file and feed results to parent. I attempted to keep the entire program in C, but it ended up becoming too time consuming & I'm always using freeBSD, so portability doesn't bother me. Even windoze users can install a UNIX type shell on there system, so I guess this works for all anyway.

    But in the end I did the most simplest thing possible, and use the OS's functions instead of C, and it's more efficient as well :P

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. piping output input
    By Dr Saucie in forum C Programming
    Replies: 1
    Last Post: 04-20-2010, 10:03 PM
  2. Replies: 0
    Last Post: 02-05-2009, 06:59 PM
  3. Pausing script to read output
    By a_priebe47 in forum C Programming
    Replies: 1
    Last Post: 06-15-2004, 10:16 PM
  4. ~ User Input script help~
    By indy in forum C Programming
    Replies: 4
    Last Post: 12-02-2003, 06:01 AM
  5. Output from console-based script.
    By berto in forum Windows Programming
    Replies: 0
    Last Post: 05-26-2003, 03:06 PM

Tags for this Thread