Also, that doesn't look like a bash prompt. If you're going to switch shell, you'll also have to convert the command for the new shell. Does your shell convert «\n» to a newline? Although I think -d would also accept the two character string as equivalent.
In reply to Re^3: how to write a perl one liner?
by ikegami
in thread how to write a perl one liner?
by perl_mystery
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |