Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Should have lead that comment with "I'm on Windows, so".

Of course it's going to be miserable to use any command-line tool on Windows. It's Windows.



I feel wget in PowerShell is useful.

PS> $page = wget http://www.yahoo.com/ PS> $page.Images | sort width | select src, width, height | Export-Csv -Encoding utf8 images.CSV


I'm not sure why you feel like that, I switched back to Windows after ~1 year of using OSX, I wouldn't say its "miserable" there is really nothing I could do in OSX's command line that can't do in windows.


What is your Windows command-line environment? Plain CMD prompt or Cygwin? Or something else?


Powershell is very powerful and for windows it beats cygwin/mingw. Not quite sure how it measure against Linux shells running on Linux, but Microsoft has really made a proper shell for windows, too bad it looks so different.

Obviously if you work in a cross-platform environment, cygwin/mingw is still the only thing that will provide you some sort of consistency in your workflow on Windows machines.


I don't get agree with your parent, but I used cygwin when I was on Windows and it mostly does what you want if you just need basic command line tools.

The major annoyances were packages were limited, compiling anything was generally a disaster and file permissions between linux/windows are a mess. I happily used it everyday though.


I use git bash, with conemu, to be honest I don't do anything crazy but most of the linux commands I need day to day just work.


I feel like you can't have really scratched the surface on what you can do in a real Unix shell. I doubt that Windows has support for things I use all the time (like command substitution <(some command) where the output of a command appears to be a file to a program).


I doubt you've used Powershell. Using objects on the cmdline is pretty ballin.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: