Arc Forumnew | comments | leaders | submitlogin
7 points by lojic 3893 days ago | link | parent

Not to beat a dead horse ( http://arclanguage.com/item?id=3351 ), but what platform are you developing Arc on? 'date -u -r' doesn't work on Linux or OS X, so we have to keep patching arc.arc with each new release.

edit: I looked at the patch more carefully and it looks like BSD accepts -r, so the next question is, would you mind adding some platform dependent conditionals?



4 points by pg 3893 days ago | link

I develop on OSX but the code runs on FreeBSD on the News.YC server.

-----

2 points by lojic 3893 days ago | link

I guess I'm confused then. Does the date function in arc.arc work for you on OSX?

-----

3 points by lojic 3892 days ago | link

My bad. In my haste, I simply ssh'd to my Mac and issued 'date -u -r' and didn't take the time to see that it was simply complaining about the fact that I didn't provide an argument for -r. So, I guess it's a problem for Linux, and not for OSX.

-----

3 points by cooldude127 3893 days ago | link

works for me on OS X. both the anarki and the vanilla arc2 date functions produce the same result.

-----

2 points by tjr 3893 days ago | link

Works for me on OS X as well.

-----

3 points by nex3 3893 days ago | link

Anarki should work fine on all Unixes (or at least Linux and BSD-based ones) and maybe Windows.

-----

1 point by lojic 3892 days ago | link

I'd like to stick to the canonical source for a while before I consider forks.

-----

3 points by mst 3892 days ago | link

anarki isn't really a fork any more than -ac is a linux fork.

Nor any less, I suppose.

Draw your own conclusions.

-----