[RFC] rc.d integration for the bluetooth subsystem

Brooks Davis brooks at one-eyed-alien.net
Wed Nov 9 11:16:57 PST 2005


On Wed, Nov 09, 2005 at 09:30:11AM -0800, Maksim Yevmenkin wrote:
> 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?

Looks good to me.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bluetooth/attachments/20051109/cb6093a4/attachment.bin


More information about the freebsd-bluetooth mailing list