Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!ksr!seagoon!benson From: benson@seagoon.ksr.com (Benson Margulies) Newsgroups: comp.unix.questions Subject: Bourne shell dosen't seem to rescan for quotes in variables. Message-ID: <182@ksr.UUCP> Date: Thu, 20-Aug-87 22:49:34 EDT Article-I.D.: ksr.182 Posted: Thu Aug 20 22:49:34 1987 Date-Received: Sat, 22-Aug-87 14:38:06 EDT Sender: nobody@ksr.UUCP Reply-To: benson@ksr.UUCP () Distribution: world Organization: Kendall Square Research, Cambridge MA Lines: 23 In an sh script -- FOO="my_command -P\"big dog\"" exec $FOO my_command gets called with argv[1] = -P"big and argv[2] = dog" whereas I want it to be called with one argument. The only work-around I found is to use sh -c $FOO I am running SunOS 3.4. Questions: is this universal? is this correct? is there a better avoidance? Benson I. Margulies Kendall Square Research Corp. harvard!ksr!benson All comments the responsibility ksr!benson@harvard.harvard.edu of the author, if anyone.