Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'd like to have GNU tools available on multiple platforms, behaving the same. I know there are ports, like http://gnuwin32.sourceforge.net/, but they are different from what's supported by the linux versions.

Doesn't necessarily have all tools, I'm looking for some basic like

  • wget
  • sed
  • ls
  • tee
  • grep
  • ps
  • etc.

All my development revolves around Java, thus I have Java on every machine no matter of the platform. Therefore, I'd prefer implementation Java.

So I tried to find GNU tools implemented in Java, but can't find any such project.

Does anybody know about such?

(PS: Not Apache Ant, I want it for the command line)

share|improve this question
3  
Of course they're different. The underlying OS is different. Changing the language used won't fix that. –  Ignacio Vazquez-Abrams May 12 '11 at 11:33
    
No it wont, but at least there could be one implementation which would work the same on all OS's (same input, same output format) –  Ondra Žižka May 12 '11 at 12:20
    
But you're right - updated. –  Ondra Žižka May 12 '11 at 12:26
add comment

1 Answer

There isn't. gnu tools tend to be fairly low level and small, and more importantly, coded by old school unix hackers, to whom C is the language that god himself wrote (many disagree, some say its lisp, other python) - there are only a handful of common coreutils (what you call gnu tools) implimentations, and all are c.

It is simply the way it is. However, coreutils should work mostly the same, unless the developer chose to change the syntax.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.