From owner-freebsd-questions Fri Apr 5 6:43:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 2F83A37B426; Fri, 5 Apr 2002 06:42:59 -0800 (PST) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.11.6/8.11.6) with UUCP id g35EgSi29957; Fri, 5 Apr 2002 16:42:29 +0200 (CEST) (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.1.10]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g35Efl6e046566; Fri, 5 Apr 2002 16:41:47 +0200 (CEST)?g (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (localhost [127.0.0.1]) by cicely8.cicely.de (8.12.2/8.12.2) with ESMTP id g35EflnU055683; Fri, 5 Apr 2002 16:41:47 +0200 (CEST) (envelope-from ticso@cicely8.cicely.de) Received: (from ticso@localhost) by cicely8.cicely.de (8.12.2/8.12.2/Submit) id g35EfkVx055682; Fri, 5 Apr 2002 16:41:46 +0200 (CEST) Date: Fri, 5 Apr 2002 16:41:46 +0200 From: Bernd Walter To: Ilia Chipitsine Cc: questions@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: Perl thing Message-ID: <20020405144146.GR51284@cicely8.cicely.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.26i X-Operating-System: FreeBSD cicely8.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Apr 05, 2002 at 07:56:53PM +0600, Ilia Chipitsine wrote: > Dear Sirs, > > Perl has very useful "split" function, it "split"s a string according > arbitrary regular expression. Is there's such a C function ? > I'm moving few programs from Perl to C. strsep(3) Especially the exmaple in the manpage should be interesting for you. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message