From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2da5d5e41670269 X-Google-Attributes: gidfee84,public From: dblake@popper.ucsf.edu (David T. Blake) Subject: Re: wordexp (not Re: nanosleep ?) Date: 1999/08/26 Message-ID: #1/1 X-Deja-AN: 517563566 References: <37BCF41F.1EC5804D@de.ans.thomson-csf.com> <7q3o7f$8lp@web.nmti.com> Organization: UCSF, ITS User-Agent: slrn/0.9.5.4 (UNIX) Reply-To: dblake@phy.ucsf.edu Newsgroups: comp.unix.osf.osf1 Peter da Silva wrote: > In article , > David T. Blake wrote: > >I wish to know > >how to make the word expansion work all the time irrespective > >of the environment and program that call it. > > man opendir > man regexp or man re_exec Of course writing my own is an option. Regexp and opendir would not be as useful as getpwname, getenv, and glob/globfree though. However, it seems pretty silly to duplicate functionality that exists in libc already. I mean, what would be the point of even having anything other than read and write in libc if you have to write all higher level functions yourself ?? -- Dave Blake dblake@phy.ucsf.edu