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 <[email protected]> wrote:

>
> On Mon, May 26, 2014 at 5:33 AM, Markus Neteler <[email protected]> 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
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>

Attachment: main.c.patch
Description: Binary data

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to