[GRASS5] [bug #2833] (grass) db.execute: \n not a separator

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

Had to add the \;. Newline wasn't good enough as a separator:
for c in x y; do echo ALTER TABLE $O ADD COLUMN $c double\;;done|db.execute

--- Headers Follow ---

From jidanni@jidanni.org Thu Dec 9 23:41:58 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 4607A102C71
  for <grass-bugs@lists.intevation.de>; Thu, 9 Dec 2004 23:41:58 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
  by mail.intevation.de (Postfix) with ESMTP id 14B6236DE2
  for <grass-bugs@lists.intevation.de>; Thu, 9 Dec 2004 23:41:58 +0100 (CET)
Received: from frodo.hserus.net (frodo.hserus.net [204.74.68.40])
  by mail.intevation.de (Postfix) with ESMTP id 89B2A36CE0
  for <grass-bugs@intevation.de>; Thu, 9 Dec 2004 23:41:57 +0100 (CET)
Received: from [219.69.72.135] (port=32934 helo=jidanni1)
  by frodo.hserus.net with esmtpsa
  (Cipher TLSv1:RC4-SHA:128) (Exim 4.43 #0)
  id 1CcWyw-000AaY-3J by authid <jidanni> with plain
  for <grass-bugs@intevation.de>; Fri, 10 Dec 2004 04:11:56 +0530
To: grass-bugs@intevation.de
Subject: db.execute: \n not a separator
From: Dan Jacobson <jidanni@jidanni.org>
Date: Fri, 10 Dec 2004 00:30:44 +0800
Message-ID: <87fz2f4eob.fsf@jidanni.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=-4.2 tagged_above=-999.0 required=3.0 tests=BAYES_00,
  DATE_IN_PAST_06_12
X-Spam-Level:

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

Request Tracker wrote:

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

Had to add the \;. Newline wasn't good enough as a separator:
for c in x y; do echo ALTER TABLE $O ADD COLUMN $c double\;;done|db.execute

Correct observation, separator is ';'.

Radim