[ale] script
Jeff Dilcher
root at hiddenworld.net
Mon May 21 15:29:40 EDT 2001
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.
Try:
locate somepicture.jpg | gqview -
On Mon, 21 May 2001, Cor van Dijk wrote:
> Greetings,
> 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.
More information about the Ale
mailing list