From owner-freebsd-chat Sun Apr 9 16:22:16 2000 Delivered-To: freebsd-chat@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id BAAD837B78B for ; Sun, 9 Apr 2000 16:22:02 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12eQQV-000BZv-00; Sun, 09 Apr 2000 23:43:31 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 12eQQU-0004IN-00; Sun, 09 Apr 2000 23:43:30 +0100 Date: Sun, 9 Apr 2000 23:43:30 +0100 From: Ben Smithurst To: Giorgos Keramidas Cc: freebsd-chat@FreeBSD.ORG Subject: Re: Spellings [was Re: BSDCon East] Message-ID: <20000409234330.D60798@strontium.scientia.demon.co.uk> References: <20000409140225.A2643@theory1.physics.iisc.ernet.in> <200004092106.AAA11744@hades.hell.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200004092106.AAA11744@hades.hell.gr> Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Giorgos Keramidas wrote: > Hehe, I hope this thing will not happen any time soon now. No offense > for the French people on this list, I'd hate it to start a war here. > However, it brings me the creeps to think of a sed/awk script in french > editions of these tools. Not to speak about perl5 code... C would be alright though, code like this would look pretty much the same in any language: (_O&2&&**v?*(*v)++:!c||_O&4?0:(!(_O&1)&& \ (--c,++v),_O=4,c&&**v=='-'&&v[0][1]?*++*v=='-'\ &&!v[0][1]?(--c,++v,0):(_O=2,*(*v)++):0)) [src/usr.bin/chat/chat.c for those who care] -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message