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

  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    17

    where to download grep, sed, awk for Windows?

    I would like to utilize these commands when I write C programs in Windows.

    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
    Registered User NeonBlack's Avatar
    Join Date
    Nov 2007
    Posts
    431
    Most unix/gnu apps have been ported to native Windows apps which can be used without cygwin.
    Search the google for "___ for windows"
    I use openssh, wget, gcc, sed and many others almost daily.

    By the way, they're Free Software (TM).

    Shareware was so 90's.

    Also, this should go in GD or tech.
    Last edited by NeonBlack; 07-31-2009 at 11:59 PM.
    I copied it from the last program in which I passed a parameter, which would have been pre-1989 I guess. - esbo

  3. #3
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    >> Is there a site that I can download these UNIX commands (that run in the Windows environment) as "free shareware" ? Thanks.

    Just being pedantic here, but they're not commands, but programs. And "free shareware" is an oxymoron.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Parsing a string like I would with grep and sed
    By Motark in forum C Programming
    Replies: 8
    Last Post: 11-13-2008, 12:10 PM
  2. Replies: 4
    Last Post: 09-30-2005, 02:51 AM
  3. Grep
    By cfriend in forum Linux Programming
    Replies: 3
    Last Post: 09-17-2004, 05:34 AM
  4. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM