in reply to perl problem with input line -e
Try this instead: printf -- "-e\n"
The '--' signifies the end of options, anything follows that will be interpreted as an argument to print. This is the common unix way to use an argument that looks like an option.
|
|---|