[blfs-support] Comment/Question/Flame on "probably the most used admin tool", 'find'

alex lupu alupu01 at gmail.com
Thu Nov 7 15:24:49 PST 2013

Hi Dan:

On Thu, Nov 7, 2013 at 4:37 PM, Dan McGhee <beesnees at grm.net> 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.

-- Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20131107/898ebaba/attachment.html>

More information about the blfs-support mailing list