Thanks guys... yes, indeed, the question was completely misunderstood. After looking at it again this morning, I realized the OP was dealing with the CLI while the program was waiting for input.
With the posted code, it appeared to me at the time they were actually trying to edit the file.
Thankfully, AnonyMonk, roboticus and 1nickt did catch on to what the OP needed, and responded accordingly.
Cheers,
-stevieb
In reply to Re^5: What editing mode am I in when interacting with a Perl script using OS X Terminal? Because the keyboard works differently to a normal shell.
by stevieb
in thread What editing mode am I in when interacting with a Perl script using OS X Terminal? Because the keyboard works differently to a normal shell.
by Cody Fendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |