where to download grep, awk, sed for Windows environment?

I’m used to UNIX commands such as grep, awk, sed, ls, cat, diff and so forth. I would like to run similar commands in the shell in Windows, when I open up “cmd”. I don’t want to have to install cygwin to do this.

Is there a site that I can download these UNIX commands (that run in the Windows environment) as “free shareware” ? Thanks.

You are talking about bash
You can’t use it in windows to my knowledge
I understand there might be some similarities between it and the windows command line.
And in windows all the slashes are the wrong way :wink:

> Is there a site that I can download these UNIX commands (that run in
> the Windows environment) as “free shareware” ? Thanks.

not free, but complete and supported at http://www.hamiltonlabs.com/
demo at http://www.softlookup.com/display.asp?id=9624


goldie
CAVEAT: i know the owner of Hamilton Laboratories, but will receive
ZERO compensation, even if you make her a billionaire…

Like caf4926 said you do not get those commands for the DOS-like environment CMD shell - which is quite poor.

You can look up a list of commands comparison here: Linux/UNIX For DOS Users

Almost all (or even all) ported linux software for windows, e.g. wget for windows, are built using cygwin (cygwin dll actually) so basically you won’t be able to use the commands you like without cygwin.

There is also a free DOS (not sure which is it) version which comes with few linux commands/tools but you will also have to install something.

If I may suggest, you could just install a basic cygwin instead and get to use it. If you go for a more comfortable terminal I’d suggest rxvt.

Good luck.

Oups, just saw the other post. Did a short google search and:
win-bash - bash port for Windows
Steve.org.uk - GNU Bash for Windows

If I may suggest, you could just install a basic cygwin
I think the OP has another thread going on this topic.

Hi
There are unix tools for windows, the download is at microsoft site
somewhere. Search for unix tools it’s version 2.0 from memory.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.2 Milestone 4 (i586) Kernel 2.6.30.2-1-pae
up 5:40, 2 users, load average: 0.13, 0.11, 0.10
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

No, the shell provides mechanisms for redirection/pipes etc but the tools sed, awk, cat etc are stand alone tools and have nothing to do with bash.

Yes, CMD.EXE also provides redirection and pipes and in adition more “online” commands, meaning commands that are implemented directly into the shell and not as stand alone tools, unlike the original design philosophy of *NIX.

OP: There are several windows ports of the standard *NIX tools. Try UnxUtils | Download UnxUtils software for free at SourceForge.net which is freely available and includes Microsoft C-Library native versions of sed, gawk etc. they can be used directly from CMD.EXE.