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

Re: Lynx doesn't dump to stdout?



On Sat, 16 Oct 2004 12:00:16 +0200, "Roozemond, D.A."
<D.A.Roozemond@student.tue.nl> wrote:

> > Example:
> > lynx -dump
> > http://www.ticketmaster.nl/html/searchResult.htmI?keyword=carlton&l=NL
> > | grep resultaten
> > 
> 
> There is a rather annoying thing happening here. Remember that commands
> in bash ending with an ampersand sign & are executed in the background
> (i.e. the command is executed and you get your prompt back rather than
> having to wait). 

Argggg! I get it now...

> This is what's happening here. If you look carefully to the output, you
> might notice there is something like '[1] 4822' at the beginning of the
> suspected output, this means your job (lynx) is ran in the background
> with PID 4822.

Tried it again and you're right, I get a PID before the output...

> No need to understand all the above - If you change the '&' in the
> webpage address to '\&', it's working:

And it is. I completely understand the above, I just didn't look into
that direction. Thanks, great help!
-- 
Matthijs
vanaalten@hotmail.com

No need to 'cc' me, I read the list.



Reply to: