Jump to content

Featured Replies

Posted

How do I translate this from bash to cmd.exe:

 

../myprogramreadsstdin <<EOF

this is data read by my program

bash sends my program and end-of-file signal

when it sees the following token:

EOF

../myprogramreadsstdin <<XYZ

this is data read by my program. bash sends an end-of-file signal

when it sees the following string:

XYZ

 

Thanks!

siegfried

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...