httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Terbush <ra...@Covalent.NET>
Subject Re: Varying methods
Date Thu, 10 Dec 1998 01:30:25 GMT
Jim Jagielski <jim@jaguNET.com> writes:
> I've noticed that we all have our own ways of handling the
> 
> 	if [ "x$var" = "x" ];

The style above would probably be safest since I've encountered some cases
lately where 'make' creates many variables with '.' prefix. I couldn't
find a case where it was causing any problems, but they exist
nontheless.


> 
> type shell statements. I'd like to propose we "standardize" how we
> do this as:
> 
> 	if [ ".$var" = "." ]; then
> 
> this pretty much is a combo of everyone's style. It's nice to be
> consistant. Sound OK?
> -- 
> ===========================================================================
>    Jim Jagielski   |||   jim@jaguNET.com   |||   http://www.jaguNET.com/
>             "That's no ordinary rabbit... that's the most foul,
>             cruel and bad-tempered rodent you ever laid eyes on"

Mime
View raw message