From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,da43219763c78931,start X-Google-Attributes: gidfee84,public From: dblake@popper.ucsf.edu (David T. Blake) Subject: word expansion and OSF libc Date: 1999/08/16 Message-ID: #1/1 X-Deja-AN: 513736363 Organization: UCSF, ITS User-Agent: slrn/0.9.5.4 (UNIX) X-editor: em Reply-To: dblake@phy.ucsf.edu Newsgroups: comp.unix.osf.osf1 Hello, I wrote the following simple c program ******************** #include #include main(){ char foo[25]; wordexp_t weout; int i,weflags = WRDE_NOCMD ; printf("Enter a string for me to expand: "); scanf("%s",foo); wordexp(foo,&weout,weflags); printf("%s %d matches \n",foo,weout.we_wordc); for (i=0;i