<div dir="ltr">What about the standard output redirection (>)? g.mlist ... > file.txt.. Hmm... We can overwrite existing files..<div><br></div><div>-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.<div>
<br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 26, 2014 at 9:53 AM, Vaclav Petras <span dir="ltr"><<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class=""><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 26, 2014 at 5:33 AM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="overflow:hidden">g.mlist rast pattern="precip*1951_1980_monthly_sums*" output=maplist.txt<br>
r.series file=maplist.txt output=precip_0_25deg.1951.1980.sum method=sum<br>
<br>
Makes sense?</div></blockquote></div><br></div></div><div class="gmail_extra">It is a very good idea.<br></div></div>
<br>_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br></blockquote></div><br></div>