Xref: utzoo comp.unix.questions:14994 comp.sys.att:7007 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cwjcc!gatech!udel!princeton!njsmu!mccc!pjh From: pjh@mccc.UUCP (Pete Holsberg) Newsgroups: comp.unix.questions,comp.sys.att Subject: Strangeness in shell Keywords: SysV Bourne shell Message-ID: <432@mccc.UUCP> Date: 18 Jul 89 13:11:22 GMT Followup-To: comp.unix.questions Distribution: na Organization: Mercer County Community College, Trenton, New Jersey Lines: 21 If I assign a shell variable a value that contains an asterisk, the shell behaves strangely if there is a space adjacent to said asterisk. For example, x='*z' echo ${x} produces *z but x='* z' echo ${x} produces (a list of all the files in the current directory) z What does the space have to do with this? Please mail and I'll summarize if there is interest. Thanks. -- Pete Holsberg -- Mercer College -- Trenton, NJ 08690 ...!rutgers!njin!princeton!njsmu!mccc!pjh