3 ms·
Totally agreed re: module system and interactivity. As I mentioned, it's only in terms of syntax I think Powershell is excellent. > "date +%s" returns sortable
by nailer 13y ago
Totally agreed re: module system and interactivity. As I mentioned, it's only in terms of syntax I think Powershell is excellent.
> "date +%s" returns sortable integers which you should work with.
Date returns text, not integers. Your shell doesn't understand that there are not more than 60 seconds in a minute.
You might argue that people shouldn't use a shell to parse dates, and pass the text onto a proper tool to read it. That doesn't change the fact that Unix admins, like Perl developers, try and do this all the time. Maybe the best thing about posh it stops people from doing stupid things.
The LaTeX/Word analogy was simple: powershell separates content from presentation. bash does not.