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

Re: Bashism (Was: Locale testing)



On Sat, Dec 06, 2008 at 11:42:38PM +0200, Dotan Cohen wrote:
> 2008/12/6 Tzafrir Cohen <tzafrir@cohens.org.il>:
> > This is bashism.
> >
> 
> That is why we call it "bash"!
> 
> > #!/bin/sh
> > LC_ALL="" LC_TIME="en_DK.utf8" /usr/bin/thunderbird "$@"
> >
> > Or even better:
> >
> > #!/bin/sh
> > LC_ALL="" LC_TIME="en_DK.utf8" exec /usr/bin/thunderbird "$@"
> >
> 
> I could probably google and find out why the semicolons are not
> necessary, nor the export command, but why is the "exec" preferable?

Probably just because it doesn't leave the wrapper script as a 
process to be returned to after you're done with thunderbird.

Ken

-- 
Ken Irving


Reply to: