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

Re: DWN Editor team, how and what?



* Josip Rodin 

| On Fri, May 18, 2001 at 08:04:39PM +0200, Tollef Fog Heen wrote:
|
| >      if (($year < 2001) or ($year >= 2001) and  ($issue >= 10)) {
| > 	  print "Joe 'Zonker' Brockmeier, Jean-Christophe Helary & Tollef Fog Heen";
| >      } else {
| > 	  print "Joey Hess";
| >      }
| 
| Err, that condition looks odd. If I got this right, you want either
|   * year > 2001
| or
|   * year = 2001 and $issue >= 10

Uhm, yes.

      if (($year > 2001) or (($year == 2001) and  ($issue >= 10))) {

should be better.

| > And does anybody have a way to get WML_SRC_REALNAME and
| > WML_SRC_USERNAME set to sane values, based on which issue this is?
| > (That is, before 2001-10, they should be Joey Hess and joeyh, after
| > that they should be Tollef Fog Heen and tfheen.
| > 
| > I'd like not to do too much wizardly makefile hackery, if possible..
| 
| Do same as the above, just in makefile ;)

I'll look into it.  It might turn ugly.

-- 

Tollef Fog Heen
Unix _IS_ user friendly... It's just selective about who its friends are.



Reply to: