RE: How do Unix grep, find, sort?
From: noleander (noleander_at_discussions.microsoft.com)
Date: 02/28/05
- Next message: John Paulsson: "GetObject("IIS://localhost/W3SVC/1/Filters") fails"
- Previous message: Michael Harris \(MVP\): "FYI: Scripting and Windows AntiSpyware (Beta)"
- Next in thread: Al Dunbar [MS-MVP]: "Re: How do Unix grep, find, sort?"
- Reply: Al Dunbar [MS-MVP]: "Re: How do Unix grep, find, sort?"
- Reply: Roger Abell: "Re: How do Unix grep, find, sort?"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 27 Feb 2005 16:43:04 -0800
HI again. I wrote the original post. After 2 days of searching, and
reading the replies above (thanks all!) I've settled on Perl. It works fine
on PC and includes (more or less) awk, find, grep, csh, etc.
I did spend some time looking into "Unix on PC" tools, but none worked well.
Here are the ones I tried:
Unxkit = small; immature;
CygWin = way too huge; interpreted
WinXs = incomplete; too small
SFU = will not work on XP-Home (requires XP-Pro) :-(
Anyway, Perl seems to meet my needs. It is free, small-ish, and performs
just about any function a Unix relic would need.
I understand that by using Perl I will not learn VBscript well, but a tool
is a tool. Besides, I am using VB inside MS Excell and MS Access for macros
and event handlers, so I am learning VB.
Thanks again for the help.
neal
"noleander" wrote:
> Hi. I'm new to Windows, after programming for 20 years in Unix. I'm willing
> to give Windows a fair shot, but I'm having a heck of a time getting started.
> Here is a typical thing I'll need to do:
>
> *** Find all text files that are less than one month old (under a given
> folder) and within those files replace all occurances of string "xyz" with
> string "abc".
>
> I'm used to the Unix approach, piping commands like grep, find, and ex
> together.
>
> But I've been studying VBScript all day, and I swear I cannot figure out how
> to do the above task.
>
> My question is: What is the normal scripting approach in Windows to
> accomplish the task I describe above? Pointers to sample code would be much
> appreciated!
>
> neal
>
- Next message: John Paulsson: "GetObject("IIS://localhost/W3SVC/1/Filters") fails"
- Previous message: Michael Harris \(MVP\): "FYI: Scripting and Windows AntiSpyware (Beta)"
- Next in thread: Al Dunbar [MS-MVP]: "Re: How do Unix grep, find, sort?"
- Reply: Al Dunbar [MS-MVP]: "Re: How do Unix grep, find, sort?"
- Reply: Roger Abell: "Re: How do Unix grep, find, sort?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|