5 ms·
'Text as the universal interface' clashes quite badly with separating content from presentation. This means you're forever relying on regex's to rip data out of
by nailer 17y ago
'Text as the universal interface' clashes quite badly with separating content from presentation. This means you're forever relying on regex's to rip data out of other applications, and relying on those other applications not to change their output.
Compare finding processes starting within the last hour on Unix and Windows:
ps | grep 'regex representing the current amount of columns output by ps where start time is less than 2 hours'
Windows (ps is an alias for get-process):
ps | where COLUMN <= value
The latter is much more robust. As Powershell gets more cmdlets it's going to become increasingly useful. That said, I prefer Unix for other reasons.
- cagey 17y agoBut are these 'additional cmdlets' going to be available in a default O.S. install? If not, will they be automatically brought in by Windows Updater?
- makecheck 17y agoTrue, though "ps" isn't the best example, as it's one of the least portable commands I've ever seen. :) Its output is not even consistent from one Unix variant to another. I kind of hope most Unix variants follow the /proc filesystem model of Linux. It basically cleans up these kinds of queries considerably.