Mail Archives: djgpp-workers/1996/09/17/07:32:08
Testing of the latest version of `system' with Gawk reveals a problem:
when a command line (meant for ms_sh) includes newlines, it fails,
because `system' currently passes it via a response file, like this:
sh -c @response-file
which means the newlines must be backslash-escaped. However, if I invoke
the shell instead like this:
sh -c response-file
it works, because then response-file is treated as a script.
Question: will I break something if I *always* invoke `sh' like the
latter example (I guess I don't know about Unix shells enough, because
reading their docs I couldn't figure out the difference). Thanks.
- Raw text -