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

It’s early days on my test drive. I don’t know how well it’ll fare for fairly common actions in bash like “here documents” or what the equiv of shopt extglob is in pwsh.

My usual cli usage is what i’d call “text manipulation” - slicing and dicing command output or converting csv-like data in some way or another.

My toolset is the usual suspects - bash, sed & awk but beyond a certain complexity i’ll switch to python.

The key thing for me is i can still use grep, sed, awk and python in pipelines as before but i’m attracted by the easy data access in pwsh.

The idea that Get-Process returns an object and i can just query each process’s WSS attribute for example is appealing right now (as opposed to explicitly manipulating text to suit, e.g. grep resident /proc/*/statm or ps -o rss or whatever approach)



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

Search: