emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redirecting standard output


From: Lars Magne Ingebrigtsen
Subject: Re: Redirecting standard output
Date: Thu, 21 Apr 2011 13:40:45 +0200
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> You mean, redirect to a file?  Why do you need that?

The pbmplus commands read from stdin and write to stdout, mostly.  So if
you want to rescale a picture, you have to say "pnmscale < foo > bar".

> Anyway, redirecting to a temp buffer and then writing that buffer to a
> file should be good enough, right?

These are huge files.  It would be kinda slow.

> So, if you use shell-quote-argument, is there still a problem?

I think putting stuff into a string and then reparsing the string is bad
programming practise.  If it can be (easily) avoided, it should be.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]