Re: Viewing multiple .png files simultaneously
- From: "Chris F.A. Johnson" <cfajohnson@xxxxxxxxx>
- Date: Wed, 19 Sep 2007 10:19:38 -0400
On 2007-09-19, Josef Moellers wrote:
Chris F.A. Johnson wrote:
On 2007-09-19, philbo30 wrote:
...
ImageMagick is just the tool I was looking for; it works great. The
only additional thing I would like to do is specify the amount of time
that the image displays. As an example, I want it to display for 60
seconds. I didn't see that capability associated with the "display"
application, but then again I didn't look that much either. Ideas?
display ... &
sleep 5
kill "$!"
<pedantic>
make that
display ... &
sleep 60
kill $!
</pedantic>
What if IFS is not the default? E.g.:
$ (
IFS=1234567890bash: kill: `': not a pid or valid job spec
sleep 20 &
sleep 2
kill $!
)
bash: kill: `': not a pid or valid job spec
bash: kill: `': not a pid or valid job spec
bash: kill: `': not a pid or valid job spec
$
But:
$ (
IFS=1234567890$
sleep 20 &
sleep 2
kill $!
)
In this case the quotes are needed; in other cases it doesn't hurt
to have them.
--
Chris F.A. Johnson, author | <http://cfaj.freeshell.org>
Shell Scripting Recipes: | My code in this post, if any,
A Problem-Solution Approach | is released under the
2005, Apress | GNU General Public Licence
.
- Follow-Ups:
- Re: Viewing multiple .png files simultaneously
- From: Josef Moellers
- Re: Viewing multiple .png files simultaneously
- From: philbo30
- Re: Viewing multiple .png files simultaneously
- References:
- Re: Viewing multiple .png files simultaneously
- From: Floyd L. Davidson
- Re: Viewing multiple .png files simultaneously
- From: Roger Leigh
- Re: Viewing multiple .png files simultaneously
- From: philbo30
- Re: Viewing multiple .png files simultaneously
- From: Chris F.A. Johnson
- Re: Viewing multiple .png files simultaneously
- From: Josef Moellers
- Re: Viewing multiple .png files simultaneously
- Prev by Date: priority queues (was: Configuration file parser)
- Next by Date: Re: write() only sends 16 chars to serial port?
- Previous by thread: Re: Viewing multiple .png files simultaneously
- Next by thread: Re: Viewing multiple .png files simultaneously
- Index(es):
Relevant Pages
|