[GRASS5] [bug #2815] (grass) d.vect help: where=string looks better

this bug's URL: http://intevation.de/rt/webrt?serial_num=2815
-------------------------------------------------------------------------

$ d.vect help
Usage:
   [field=value] [cats=name] [where=name] [color=name] [fcolor=name]
where=name?
where=string looks better.

--- Headers Follow ---

From jidanni@jidanni.org Thu Dec 9 00:14:32 2004

Return-Path: <jidanni@jidanni.org>
Delivered-To: grass-bugs@lists.intevation.de
Received: from mail.intevation.de (aktaia [212.95.126.10])
  by lists.intevation.de (Postfix) with ESMTP id 3470B102C35
  for <grass-bugs@lists.intevation.de>; Thu, 9 Dec 2004 00:14:32 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
  by mail.intevation.de (Postfix) with ESMTP id 0176736CE0
  for <grass-bugs@lists.intevation.de>; Thu, 9 Dec 2004 00:14:32 +0100 (CET)
Received: from frodo.hserus.net (frodo.hserus.net [204.74.68.40])
  by mail.intevation.de (Postfix) with ESMTP id 282CA36CD8
  for <grass-bugs@intevation.de>; Thu, 9 Dec 2004 00:14:31 +0100 (CET)
Received: from [219.69.72.86] (port=32784 helo=jidanni1)
  by frodo.hserus.net with esmtpsa
  (Cipher TLSv1:RC4-SHA:128) (Exim 4.43 #0)
  id 1CcB0r-0003gK-Fo by authid <jidanni> with plain
  for <grass-bugs@intevation.de>; Thu, 09 Dec 2004 04:44:27 +0530
To: grass-bugs@intevation.de
Subject: d.vect help: where=string looks better
From: Dan Jacobson <jidanni@jidanni.org>
Date: Thu, 09 Dec 2004 06:53:58 +0800
Message-ID: <87acsoxuyh.fsf@jidanni.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level:

-------------------------------------------- Managed by Request Tracker

On Thu, Dec 09, 2004 at 12:14:32AM +0100, Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=2815
-------------------------------------------------------------------------

$ d.vect help
Usage:
   [field=value] [cats=name] [where=name] [color=name] [fcolor=name]
where=name?
where=string looks better.

This would require a change in
lib/gis/parser.c

(G_OPT_WHERE)

Not sure that it is trivial, probably all 'name' above would get
changed to 'string' then.

Desired?

Markus

On Thu, Dec 09, 2004 at 12:14:32AM +0100, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2815
> -------------------------------------------------------------------------
>
> $ d.vect help
> Usage:
> [field=value] [cats=name] [where=name] [color=name] [fcolor=name]
> where=name?
> where=string looks better.

This would require a change in
lib/gis/parser.c

(G_OPT_WHERE)

Not sure that it is trivial, probably all 'name' above would get
changed to 'string' then.

Desired?

does "string" mean anything to non-programmers besides a piece of rope?

Hamish

On Fri, Dec 10, 2004 at 08:38:23PM +1300, Hamish wrote:

> On Thu, Dec 09, 2004 at 12:14:32AM +0100, Request Tracker wrote:
> > this bug's URL: http://intevation.de/rt/webrt?serial_num=2815
> > -------------------------------------------------------------------------
> >
> > $ d.vect help
> > Usage:
> > [field=value] [cats=name] [where=name] [color=name] [fcolor=name]
> > where=name?
> > where=string looks better.
>
> This would require a change in
> lib/gis/parser.c
>
> (G_OPT_WHERE)
>
> Not sure that it is trivial, probably all 'name' above would get
> changed to 'string' then.
>
> Desired?

does "string" mean anything to non-programmers besides a piece of rope?

Yes :slight_smile:

http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=string

Markus

> > > this bug's URL: http://intevation.de/rt/webrt?serial_num=2815
> > > ---------------------------------------------------------------
> > >
> > > $ d.vect help
> > > Usage:
> > > [field=value] [cats=name] [where=name] [color=name]
> > > [fcolor=name]
> > > where=name?
> > > where=string looks better.

...

> > Not sure that it is trivial, probably all 'name' above would get
> > changed to 'string' then.
> >
> > Desired?
>
> does "string" mean anything to non-programmers besides a piece of
> rope?

Yes :slight_smile:

http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=string

Markus

Pertinent sections reproduced here:

Main Entry: [1]string
Pronunciation: 'stri[ng]
Function: noun
Etymology: Middle English, from Old English streng; akin to Old High
German strang rope, Latin stringere to bind tight -- more at STRAIN
[...]
11 : a scanty bikini -- called also string bikini
12 : a hypothetical one-dimensional object that is infinitely thin but
has a length of 10¯33 centimeters, that vibrates as it moves through
space, and whose mode of vibration manifests itself as a subatomic
particle

:slight_smile: