Date: Tue, 17 Sep 1996 14:29:08 +0200 (IST) From: Eli Zaretskii To: djgpp-workers AT delorie DOT com Subject: How to launch shell from `system'? Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.