Wednesday 15 September 2010

keyboard - How do I send EOF to Cygwin console? -


In the signin console, I want to send eof to the keyboard. I tried Ctrl + D, Ctrl + Z and others, then they went wrong.

example)

  $ php < Php echo "test \ n"; Press Ctrl + D, then nothing happens} $ php   

Is there a way to send eofs in the Sagvivin console?

Ctrl-D EOF . Your first attempt was not to do so, the reason for this is that your code ended the brace lost. Try the following instead:

  $ php << Php echo "test \ n"; ? & Gt; Press   

then Ctrl-D , and you will see printed on the test console.

No comments:

Post a Comment