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.In reply to Re: perl problem with input line -e
by rubasov
in thread perl problem with input line -e
by unixguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |