Please use <code></code> tags around code in your posts.
The console window will close as soon as the script ends. If you want the window to stay a round for a few seconds, add a sleep before it terminates:
#!/usr/local/bin/perl -w @lines= <STDIN>; print "@lines"; print"This is new \n"; sleep 60;
In reply to Re^3: How to give an EOF from windows Standard input?
by BrowserUk
in thread How to give an EOF from windows Standard input?
by marytjohn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |