No such thing as a small change | |
PerlMonks |
Re: null byte issue in system commandby mr_mischief (Monsignor) |
on Mar 31, 2015 at 23:21 UTC ( [id://1122084]=note: print w/replies, xml ) | Need Help?? |
I can't replicate your failure or your success.
This fails for lack of permissions on my specific system (running as non-root):
Writing to a regular file in my home directory works fine (except this echo does not support the same syntax as yours):
On Linux:
Multiple versions on differing platforms:
I have no idea how that would ever succeed with unescaped double quotes inside double quotes like that on any version. It just isn't valid Perl. How do I post a question effectively? is your friend (thanks jeffa and the SiteDocClan). Perhaps see also:
In Section
Seekers of Perl Wisdom
|
|