[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: [ale] script
- From: root at hiddenworld.net (Jeff Dilcher)
- Date: Mon, 21 May 2001 15:29:40 -0400 (EDT)
I may be wrong, but the output of "locate" are
file locations, not binary data.
Your output from locate would be, I imagine, your
argument to your viewer program.
locate somepicture.jpg | gqview -
On Mon, 21 May 2001, Cor van Dijk wrote:
> I am trying to write a script which will feed a single line of output of
> "locate" into a simple imageviewer like
> "gqview" or "kview" (redhat6.2). I tried both shell scripting and Perl,
> so far with little succes. Obvious things
> like piping wont work. Perl seems to categorize this problem under
> "interacting with strangers". Also, there might be image viewers which
> will accept a command line from a file, but I haven't found any.
> Any ideas welcome.
> Cor van Dijk
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.