Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!labrea!decwrl!pyramid!oliveb!sun!gorodish!guy From: guy%gorodish@Sun.COM (Guy Harris) Newsgroups: comp.unix.questions Subject: Re: Bourne shell dosen't seem to rescan for quotes in variables. Message-ID: <26197@sun.uucp> Date: Fri, 21-Aug-87 04:13:39 EDT Article-I.D.: sun.26197 Posted: Fri Aug 21 04:13:39 1987 Date-Received: Sun, 23-Aug-87 00:42:25 EDT References: <182@ksr.UUCP> Sender: news@sun.uucp Lines: 21 > Questions: is this universal? Probably. The 4.3BSD Bourne shell does the same thing; it is relatively slightly modified from the V7 Bourne shell. The SunOS 3.4 Bourne shell is relatively slightly modified from the System V Bourne shell. > is this correct? Probably. > is there a better avoidance? Try eval exec $FOO The "eval" will cause the shell to rescan the input and handle the quotes the way you expect. Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com