Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!chinet!megabyte From: megabyte@chinet.UUCP Newsgroups: comp.unix.questions Subject: Re: Quotiing * in Bourne shell question Message-ID: <1062@chinet.UUCP> Date: Tue, 26-May-87 10:02:36 EDT Article-I.D.: chinet.1062 Posted: Tue May 26 10:02:36 1987 Date-Received: Wed, 27-May-87 03:23:19 EDT References: <1040@chinet.UUCP> <1028@mips.UUCP> Reply-To: megabyte@chinet.UUCP (Dr. Megabyte) Organization: Chinet - Public Access Unix Lines: 22 Summary: The Answer is Found! Thanks!! In article <1028@mips.UUCP> hitz@mips.UUCP (David Hitz) writes: >Here are three ways. No doubt there are more. > >This is probably the best: > > area="*" > cmdline="echo foo '$area' bar" > eval $cmdline Thanks to Dave, Mike and everyone else who pointed me to the eval command as the answer to my problem. You've all contributed to keeping the wheels of your Federal government turning. The opinions expressed herein are my own and do not reflect those of the Internal Revenue Service or any other agency of the United States Government. (A US Gov't disclaimer designed to protect the taxpayers from their fellow taxpayers) -- UUCP: (1) seismo!why_not!scsnet!sunder Mark E. Sunderlin (2) ihnp4!chinet!megabyte aka Dr. Megabyte CIS: 74026,3235 (202) 634-2529 Mail: IRS PM:PFR:D:NO 1111 Constitution Ave. NW Washington,DC 20224