From owner-freebsd-bluetooth@FreeBSD.ORG Wed Nov 9 17:30:20 2005 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD6C116A41F; Wed, 9 Nov 2005 17:30:20 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from ismybrain.com (ismybrain.com [64.246.42.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65B8143D46; Wed, 9 Nov 2005 17:30:20 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [10.254.186.111] (localhost.localdomain [127.0.0.1]) by ismybrain.com (8.11.6/8.11.6) with ESMTP id jA9HUEJ13785; Wed, 9 Nov 2005 12:30:14 -0500 Message-ID: <43723223.3030802@savvis.net> Date: Wed, 09 Nov 2005 09:30:11 -0800 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-bluetooth@freebsd.org, freebsd-rc@freebsd.org References: <20051102161311.GA8499@odin.ac.hmc.edu> <43690365.60909@savvis.net> <20051102190655.GA3961@odin.ac.hmc.edu> <436A6649.7000602@savvis.net> <20051103203217.GA30685@odin.ac.hmc.edu> <436BE02D.2020404@savvis.net> <20051107200040.GB29473@odin.ac.hmc.edu> <4370EAB4.8090000@savvis.net> <20051108201620.GD27091@odin.ac.hmc.edu> <43713B7D.7090405@savvis.net> <20051109063847.GB4605@comp.chem.msu.su> In-Reply-To: <20051109063847.GB4605@comp.chem.msu.su> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Brooks Davis , Yar Tikhiy Subject: Re: [RFC] rc.d integration for the bluetooth subsystem X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2005 17:30:21 -0000 All, >>i also removed offending { } in while loop stdin redirection. if this is > > Thanks! The handling of {} seems to be one of gray corners in sh(1) > syntax if it works as in the initial version of your script. Another > one I've noticed is the case operator. Your line was like this: > > case $line in > > and it still worked for $line containing IFS chars. sh(1) seems > to put double quotes aroung the word passed to case implicitly. > While such things may seem to make sh(1) coding a tad easier, I'm > afraid they shouldn't be relied upon. ok, do we agree that http://people.freebsd.org/~emax/bluetooth-rc-4.diff.txt looks fine? i have added double quotes around variables in case statements. any other comments, suggestions, objections? thanks, max