Why perl -n0e doesn't work on cygwin and NT

T

Todd

I see some differenct behavior with the perl command line options:


On solaris i've tried, it works as below:

<perl -n0e 'print'
1
2
3
^D
1
2
3
<


But cygwin, i've to type '^D' 2 times to exit the program.
On MS Windows with ActivePerl, it's more strange: it print nothing
after i type '^Z'


May you help me identify this trick?

-Todd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,690
Members
48,796
Latest member
Greg L.

Latest Threads

Top