[m-rev.] for review: source-linking for mdb

Zoltan Somogyi zs at cs.mu.OZ.AU
Mon Oct 29 09:11:36 AEDT 2001


On 26-Oct-2001, Mark Brown <dougl at cs.mu.OZ.AU> wrote:
> +	/*
> +	** Try running the server with '--version', and see if the
> +	** output contains the string '+clientserver'.
> +	**
> +	** XXX if either server_cmd or fgrep is not found, the shell
> +	** will print an error message that will end up on our terminal.
> +	*/
> +	sprintf(system_call, "%s --version 2>&1 | fgrep -q '+clientserver'",
> +		server_cmd);

Any reason why you can't just add a "> /dev/null 2>&1" at the end of that
command?

Zoltan.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list