openSUSE Forums > Programming/Scripting » where to download grep, awk, sed for Windows environment?

Go Back   openSUSE Forums > Programming/Scripting
Forums FAQ Members List Search Today's Posts Mark Forums Read

Programming/Scripting Questions about programming, bash scripts, perl, php, cron jobs, ruby, python, etc.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-Aug-2009, 00:40
Puzzled Penguin
 
Join Date: Apr 2009
Posts: 15
newbie09 hasn't been rated much yet
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.
Reply With Quote
  #2 (permalink)  
Old 01-Aug-2009, 00:50
caf4926's Avatar
Administrator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 16,370
caf4926 has a reputation beyond reputecaf4926 has a reputation beyond reputecaf4926 has a reputation beyond reputecaf4926 has a reputation beyond reputecaf4926 has a reputation beyond reputecaf4926 has a reputation beyond reputecaf4926 has a reputation beyond reputecaf4926 has a reputation beyond reputecaf4926 has a reputation beyond reputecaf4926 has a reputation beyond reputecaf4926 has a reputation beyond repute
Send a message via MSN to caf4926
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 \
__________________
Box: openSUSE 11.2 | (KDE4.3.5) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | KDE 4.4 RC3 "release 218" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #3 (permalink)  
Old 01-Aug-2009, 02:30
goldie
Guest
 
Posts: n/a
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..
Reply With Quote
  #4 (permalink)  
Old 01-Aug-2009, 02:37
ghostintheruins's Avatar
Student Penguin
 
Join Date: Jul 2008
Posts: 97
ghostintheruins hasn't been rated much yet
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
Reply With Quote
  #5 (permalink)  
Old 01-Aug-2009, 02:50
caf4926's Avatar
Administrator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 16,370
caf4926 has a reputation beyond reputecaf4926 has a reputation beyond reputecaf4926 has a reputation beyond reputecaf4926 has a reputation beyond reputecaf4926 has a reputation beyond reputecaf4926 has a reputation beyond reputecaf4926 has a reputation beyond reputecaf4926 has a reputation beyond reputecaf4926 has a reputation beyond reputecaf4926 has a reputation beyond reputecaf4926 has a reputation beyond repute
Send a message via MSN to caf4926
Default Re: where to download grep, awk, sed for Windows environment

Quote:
If I may suggest, you could just install a basic cygwin
I think the OP has another thread going on this topic.
__________________
Box: openSUSE 11.2 | (KDE4.3.5) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | KDE 4.4 RC3 "release 218" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #6 (permalink)  
Old 01-Aug-2009, 14:31
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 5,490
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
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

Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.2