Results 1 to 7 of 7

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

  1. #1

    Default 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.

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    37,057
    Blog Entries
    16

    Default Re: where to download grep, awk, sed for Windows environment

    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 \
    My openSUSE 13.1 KDE Box
    My Articles
    Was I any help? If yes: Click the star below

  3. #3
    goldie NNTP User

    Default Re: where to download grep, awk, sed for Windows environment?

    > 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..

  4. #4

    Default Re: where to download grep, awk, sed for Windows environment

    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

  5. #5
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    37,057
    Blog Entries
    16

    Default Re: where to download grep, awk, sed for Windows environment

    If I may suggest, you could just install a basic cygwin
    I think the OP has another thread going on this topic.
    My openSUSE 13.1 KDE Box
    My Articles
    Was I any help? If yes: Click the star below

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    16,245
    Blog Entries
    14

    Default Re: where to download grep, awk, sed for Windows environment?

    Quote Originally Posted by caf4926

    > 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


  7. #7

    Default Re: where to download grep, awk, sed for Windows environment

    Quote Originally Posted by caf4926 View Post
    You are talking about bash
    You can't use it in windows to my knowledge
    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.
    Quote Originally Posted by caf4926 View Post
    I understand there might be some similarities between it and the windows command line.
    And in windows all the slashes are the wrong way \
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •