The shell does indeed sanitize the arguments, unless I quote them. However, quoting them doesn't change the effect of the script, which still ends up giving me sanitized escape characters rather than newlines.
Of course, I should have mentioned as much in the original post, and I'll go add something about that as a note now. I'll rep++ you for pointing that out.
|
- apotheon
CopyWrite Chad Perrin |
In reply to Re^2: Getopt, regexen, and newlines
by apotheon
in thread Getopt, regexen, and newlines
by apotheon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |