News for hackers. Stuff that matters.
Re:A Unix Utility You Should Know About: Pipe Viewer by newt0311 on Monday February 02, 2009 @10:24AM (#462366)
Wouldn't windows have to have a usable shell first?
Re:A Unix Utility You Should Know About: Pipe Viewer by gnaritas on Monday February 02, 2009 @10:43AM (#462399)
It does, it's called cygwin and it's the first thing you install after getting windows to boot.
Re:A Unix Utility You Should Know About: Pipe Viewer by likpok on Monday February 02, 2009 @11:13AM (#462446)
Cygwin is a bloated piece of crap, especially if you run Vista/Server 200[3-8]. See my other comment about SUA.
Re:A Unix Utility You Should Know About: Pipe Viewer by gnaritas on Monday February 02, 2009 @01:03PM (#462612)
And yet, it is vastly better than Windows actual command line and extremely useful for managing and developing on Windows boxes. I find your claim of it being a bloated piece of crap simply untrue.
Re:A Unix Utility You Should Know About: Pipe Viewer by gojomo on Monday February 02, 2009 @01:44PM (#462666)
How is cygwin worse (more bloated or 'crap') on Vista/Server than other Windows versions?
Re:A Unix Utility You Should Know About: Pipe Viewer by nailer on Tuesday February 03, 2009 @03:07AM (#463691)
* It's redundant as there's posh out of the box, which has built in aliases for common Unix commands

* It reimplements common Windows services

* Doesn't separate content from presentation

* Doesn't integrate with other server software

* Lacks the reporting tools posh has - eg, sending a table to Excel.

Re:A Unix Utility You Should Know About: Pipe Viewer by gnaritas on Thursday February 05, 2009 @04:13PM (#468747)
Powershell is not a unix, just because it can do some of the same things and has aliases for some of the commands doesn't make it a drop in replacement. Cygwin is a drop in replacement that lets me run the same scripts I run on my Linux boxes, i.e. it is not redundant.

I'll take cygwin over powershell any and every day of the week.

Re:A Unix Utility You Should Know About: Pipe Viewer by nailer on Friday February 06, 2009 @07:25AM (#469650)
I didn't state that Powershell was a Unix. Instead, I implied it's a superior way to control Windows from a command line, which it is.

Running Linux scripts is a double edged sword: you can use existing scripts, but they can't access the whole Windows API, are too long due to unnecessary regex work, and can't report as easily.

Re:A Unix Utility You Should Know About: Pipe Viewer by gnaritas on Saturday February 07, 2009 @09:20PM (#471709)
I don't want to control Windows from the command line, I want to control my own applications, access the file system, and run and manage services.

Of course powershell integrates with Windows better than cygwin, the power of cygwin is that it makes Windows a usable Unix, which is far more important to me than controlling Windows.

Re:A Unix Utility You Should Know About: Pipe Viewer by gojomo on Monday February 02, 2009 @04:47PM (#462945)
I'm asking a genuine question, so an answer would be more civil than a downvote.
Re:A Unix Utility You Should Know About: Pipe Viewer by nailer on Tuesday February 03, 2009 @03:04AM (#463688)
There's an object shell included by default in both Windows 7 and 2008.

There is none in Linux - you end up having to find regexs to match data rather than simply piping to where and asking for the field you want.

Re:A Unix Utility You Should Know About: Pipe Viewer by likpok on Monday February 02, 2009 @11:12AM (#462444)
SUA seems to be what my windowsy friends talk about. It's in newer versions of windows. It natively supports many UNIX apps, and has source compatibility with UNIX.
Re:A Unix Utility You Should Know About: Pipe Viewer by quoderat on Monday February 02, 2009 @10:39AM (#462390)
Agreed. Even powershell is so slow. And needlessly complex.