3 ms·
If you think the unix shell sucks, try fucking around with the Windows shell - either of them. You're either in a world of legacy and inconsistency dating to D
by thrower123 6y ago
If you think the unix shell sucks, try fucking around with the Windows shell - either of them. You're either in a world of legacy and inconsistency dating to DOS and the days of 8.3 filenames, or you're in the also wildly inconsistent, but very verbose, world of PowersHell.
- geophile 6y agoAbout powershell's verbosity: My pandemic project is yet another pipe-objects-instead-of-strings shell, marcel: https://marceltheshell.org https://marceltheshell.org. It's "home" is Linux, not Windows. Marcel is also somewhat verbose. It exposes Python functions on the command line, so when you need to write such a function, it starts getting long. E.g. if you want to sort files by last time modified: ls | sort (f: f.mtime) There are abstraction mechanisms to help deal with this. E.g. this defines a command to sort piped-in files by time. bytime = [sort (f: f.mtime)] So you can then do this: ls | bytime Still kind of wordy. I'm thinking about a way of having flags expand to filters. That would get things as compact as bash.