[GRASS-user] Re: [GRASS-dev] Scripts still using "-q" instead of "--q"

Jachym Cepicky jachym.cepicky at centrum.cz
Wed Oct 4 08:43:59 EDT 2006


hi,
i see no reason for this, 

but it's name could be "G_output" and it should *not* put "\n" to the
end of line

jachym

On Wed, Oct 04, 2006 at 02:23:40PM +0200, Martin Landa wrote:
> Hi,
> 
> 2006/10/4, Jachym Cepicky <jachym.cepicky at centrum.cz>:
> 
> >for printing results of some calculation, fprintf(stdout,,) should be used
> 
> nothing new, but anyway it would be nice (?) to replace fprintf
> (stdout, ...) function in the source code by a function based on
> G_message/G_fatal_error/G_warning ...
> 
> Martin
> 
> >jachym
> >
> >>
> >> Jachym Cepicky wrote:
> >> >hi,
> >> >everybody is welcome to hound after -q/-v flags and fprintf functions.
> >> >i'm progressing only slowly.
> >> >
> >> >thank you
> >> >
> >> >jachym
> >> >
> >> >On Tue, Oct 03, 2006 at 08:58:47PM -0700, Michael Barton wrote:
> >> >
> >> >>I found 2 others and want to make sure I need to change them. They are 
> >in
> >> >>v.transform and r.univar.
> >> >>
> >> >>Do both need to be changed from -q to --q?
> >> >>
> >> >>I can change them tomorrow if they do.
> >> >>
> >> >>Michael
> >> >>__________________________________________
> >> >>Michael Barton, Professor of Anthropology
> >> >>School of Human Evolution & Social Change
> >> >>Center for Social Dynamics & Complexity
> >> >>Arizona State University
> >> >>
> >> >>phone: 480-965-6213
> >> >>fax: 480-965-7671
> >> >>www: http://www.public.asu.edu/~cmbarton
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>>From: "Patton, Eric" <epatton at nrcan.gc.ca>
> >> >>>Date: Tue, 3 Oct 2006 16:11:46 -0300
> >> >>>To: "'grassuser at grass.itc.it'" <grassuser at grass.itc.it>
> >> >>>Cc: "'grass-dev at grass.itc.it '" <grass-dev at grass.itc.it>
> >> >>>Subject: [GRASS-dev] Scripts still using "-q" instead of "--q"
> >> >>>
> >> >>>I noticed that the d.histogram tool in gis.m now gives an error 
> >because
> >> >>>it
> >> >>>uses the -q flag when it calls d.histogram. A few of my own scripts 
> >need
> >> >>>to
> >> >>>be updated to the quiet/verbose changes in parser as well.
> >> >>>
> >> >>>Maybe everyone could keep an eye out for GUI tools that call programs
> >> >>>using
> >> >>>the old -q or -v flags?
> >> >>>
> >> >>>~ Eric.
> >> >>>
> >> >>>
> >> >>
> >> >>_______________________________________________
> >> >>grass-dev mailing list
> >> >>grass-dev at grass.itc.it
> >> >>http://grass.itc.it/mailman/listinfo/grass-dev
> >> >
> >> >
> >> >
> >> >------------------------------------------------------------------------
> >> >
> >> >_______________________________________________
> >> >grassuser mailing list
> >> >grassuser at grass.itc.it
> >> >http://grass.itc.it/mailman/listinfo/grassuser
> >>
> >> --
> >> Benjamin Ducke, M.A.
> >> Archäoinformatik
> >> (Archaeoinformation Science)
> >> Institut für Ur- und Frühgeschichte
> >> (Inst. of Prehistoric and Historic Archaeology)
> >> Christian-Albrechts-Universität zu Kiel
> >> Johanna-Mestorf-Straße 2-6
> >> D 24098 Kiel
> >> Germany
> >>
> >> Tel.: ++49 (0)431 880-3378 / -3379
> >> Fax : ++49 (0)431 880-7300
> >> www.uni-kiel.de/ufg
> >>
> >>
> >> _______________________________________________
> >> grass-dev mailing list
> >> grass-dev at grass.itc.it
> >> http://grass.itc.it/mailman/listinfo/grass-dev
> >
> >--
> >Jachym Cepicky
> >e-mail: jachym.cepicky at centrum.cz
> >URL: http://les-ejk.cz
> >GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
> >-----------------------------------------
> >OFFICE:
> >Department of Geoinformation Technologies
> >Zemedelska 3
> >613 00, Brno
> >Czech Republick
> >e-mail: xcepicky at node.mendelu.cz
> >URL:    http://mapserver.mendelu.cz
> >Tel.:   +420 545 134 514
> >
> >
> >-----BEGIN PGP SIGNATURE-----
> >Version: GnuPG v1.4.2.2 (GNU/Linux)
> >
> >iD8DBQFFI4FmyKt0uAjU4I8RAomJAJ9MtycA6FGoPSrONJh2js1IyJtd0ACfY3Ir
> >M+MONjnxyxf8myruxe7bOqU=
> >=xUM8
> >-----END PGP SIGNATURE-----
> >
> >
> >_______________________________________________
> >grassuser mailing list
> >grassuser at grass.itc.it
> >http://grass.itc.it/mailman/listinfo/grassuser
> >
> >
> >
> 
> 
> -- 
> Martin Landa <landa.martin at gmail.com> * http://gama.fsv.cvut.cz/~landa *

-- 
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
-----------------------------------------   
OFFICE:                                     
Department of Geoinformation Technologies 
Zemedelska 3
613 00, Brno
Czech Republick
e-mail: xcepicky at node.mendelu.cz
URL:    http://mapserver.mendelu.cz
Tel.:   +420 545 134 514
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20061004/cea99d20/attachment.bin


More information about the grass-user mailing list