Hi Dan:

On Thu, Nov 7, 2013 at 4:37 PM, Dan McGhee <[email protected]> wrote:

>  When I got to the end of your post and you wondered about a "simple"
> <if> command, my mind went right back to these two statements. This is also
> just a "gut reaction" to your post and not thought out.  (I'm taking a
> break from trying to make my new LFS bootable in an efi environment.)
>
>
> You could test $DATE to see if it's between Nov 3 01:59:59 and Mar
> <whatever> 01:59:59.  Let's say the start date is time1 and the end date
> time2 then you could say:
>
> if $DATE >= time1 -a <= time2; then
> tz=EST (or UTC-5)     #however you can write that to make bash understand
> else
> tz=EDT (or UTC-4)     #same caveat
> fi
>
> And then use $tz however you do in your wrapper.
>
> Hopefully, this might lead you down a path to resolve your dilemma and
> stop global warming.
>
>  This logic with checking the DATE against _this year_ date of
time-change may work
(I didn't take any time at all to figure out exactly how it can work in
practice), but _my_
"gut reaction" is it has clearly a better chance to stop global warming in
the meantime :)
But I'll look into it as soon as I get a chance.

Thanks,
-- Alex
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to