3 ms·
- Python as a shell would be the worst crapware ever. Whitespace syntax, no proper file autocompletion, no good pipes, no nothing. Even Tclsh with readline woul
by anthk 6y ago
- Python as a shell would be the worst crapware ever. Whitespace syntax, no proper file autocompletion, no good pipes, no nothing. Even Tclsh with readline would be better than a Python shell.
- By mixing C and C++ you look like a clueless youngster.
- /usr/local is to handle non-base/non-packages stuff so you don't trash your system. Under OpenBSD, /usr/local is for packages, everything else should be under /opt or maybe ~/src.
- OpenBSD's man pages slap hard any outdated StackOverflow crap. Have fun with a 3 yo unusable answer. Anything NON-docummented on -release- gets wrong fast. Have a look on Linux HOWTO's.
That's the future of the StackOverflow usefulness over the years. Near none. Because half of the answers will not apply.
- blacksqr 6y ago> Even Tclsh with readline would be better than a Python shell In fact, I think Tcl would make an excellent sh replacement.
- yjftsjthsd-h 6y agoSo, wish(1)?
- anthk 6y agoThere were attempts in order to create an interactive shell from the TCL interpreter, but the syntax was a bit off (upvar and a REPL can drive you mad), but if you avoided that you could use it practically as a normal shell. Heck, you can run nethack just fine under tclsh.
- viraptor 6y agoYou took that python shell too literally. Ipython included a shell profile (you can still use it yourself) and https://xon.sh/ https://xon.sh/ works just fine.
- pjmlp 6y agoThe ISO C and C++ papers are full of C/C++ references, are the ISO masters clueless youngsters? Or for that matter the likes from Apple, Google and Microsoft?
- anthk 6y agoEVen C99 has nothing to do with bastard childs such as C++. The last is convoluted crap, full of redundant functions. Further C standards do exist, but C99 and heck, even ANSI C can be good enough for daily uses. Perl, Ruby and PHP look close to each other, being the first the source of inspiration. But don't try to write PHP/Ruby code as if it was something close to Perl. The same with C++.