[lug] hack or just error?

Zan Lynx zlynx at acm.org
Tue May 25 21:01:39 MDT 2010


On 5/25/2010 7:40 PM, stimits at comcast.net wrote:
> Rofl! What a terrible name for a file...I guess they had too much beer
> that night :P

It makes sense when you realize that is how the command

if [ "$x" = "fred" ]; then echo It is Fred; done

works.

Because if does not look for "[", it just runs the command after "if"
and uses the return code.



More information about the LUG mailing list