[GRASSLIST:4537] Re: piping commands
Eric G. Miller
egm2 at jps.net
Thu Sep 19 11:31:00 EDT 2002
On Thu, Sep 19, 2002 at 02:59:09PM +0000, Miha STAUT wrote:
> Hi all,
>
> I have seen in the tips and tricks part of the manual how to pipe r.mapcalc
> commands from a text file, what I find really useful. I tried the same with
> some other commands but did not succed. What is the trick?
No trick, r.mapcalc is set-up to behave that way, while most other
commands are not. Some commands can read/write standard input/output
via pipes, but most commands just take some arguments to process (such
as rast=foo). Something like r.mapcalc has an expression parser which
is a whole 'nother beast.
--
begin 664 .signature
M<F5L;&E-("Y'(&-I<D4@/G1E;BYS<&I`,FUG93P)"`@("`@("`@("`@("`@(
M"`@("`@("`@("`@("`@("`A%<FEC($<N($UI;&QE<B`\96=M,D!J<',N;F5T
"/@H`
`
end
More information about the grass-user
mailing list