[GRASS-dev] g.mlist: output (to ASCII file) parameter wish

Huidae Cho grass4u at gmail.com
Mon May 26 07:39:01 PDT 2014


What about the standard output redirection (>)? g.mlist ... > file.txt..
Hmm... We can overwrite existing files..

-p and -f flags redirect outputs to a pager, so it won't make sense for
them to output to a file. Why don't we make output=file and -p/-f mutually
exclusive? See the attached patch.



On Mon, May 26, 2014 at 9:53 AM, Vaclav Petras <wenzeslaus at gmail.com> wrote:

>
> On Mon, May 26, 2014 at 5:33 AM, Markus Neteler <neteler at osgeo.org> wrote:
>
>> g.mlist rast pattern="precip*1951_1980_monthly_sums*" output=maplist.txt
>> r.series file=maplist.txt output=precip_0_25deg.1951.1980.sum method=sum
>>
>> Makes sense?
>>
>
> It is a very good idea.
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140526/af26898c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.c.patch
Type: application/octet-stream
Size: 5354 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140526/af26898c/attachment.obj>


More information about the grass-dev mailing list