On Fri, 2013-04-26 at 15:36 +0300, Cristian Sava wrote:
> Hi all,
> 
> Webalizer is enabled via /etc/sysconfig/webalizer but I don't understand
> why /etc/cron.daily/00webalizer has this line:
> 
> [ "z$WEBALIZER_CRON" != "zyes" ] && exit 0
> 
> that I think it should be (and it is working this way)
> 
> [ "$WEBALIZER_CRON" != "yes" ] && exit 0
> 
> What is the mistery?

The "z$Foo" != "zbar" style is idiomatic in Shell scripts. I think it's
to ensure portability between Shells with slightly different expression
rules.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to