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

Re: setting IFS to new line doesn't work while searching?



Greg Wooledge (12023-12-15):
> Equally safe, perhaps.  Not safer.  I don't know those particular perl
> modules -- are they included in a standard Debian system, or does
> one need to install optional packages?  And then there's a learning
> curve for them as well.

File::Find is a standard module, Version::Compare is packaged.

I consider it safer because I factor mistakes in my estimate: if you get
the Perl version working without using strange constructs in your code,
the odds that it will break on special characters are vanishingly thin.
With shell, unless we tested for it, there are chances we forgot a
corner case.

> By the way, your MUA is adding 10000 years to its datestamps.

It is called the Holocene calendar, the principle being that everything
that happened that might deserve to be expressed as a year in the last
12K years.

See:

https://en.wikipedia.org/wiki/Holocene_calendar

Or possibly:

https://www.youtube.com/watch?v=czgOWmtGVGs

Regards,

-- 
  Nicolas George


Reply to: