News for hackers. Stuff that matters.
Re:The Beauty of Unix Pipelines by anthk on Thursday June 04, 2020 @06:48PM (#23422894)
- 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.

Re:The Beauty of Unix Pipelines by viraptor on Thursday June 04, 2020 @07:59PM (#23423489)
You took that python shell too literally. Ipython included a shell profile (you can still use it yourself) and https://xon.sh/ works just fine.
Re:The Beauty of Unix Pipelines by pjmlp on Friday June 05, 2020 @02:20AM (#23425597)
The 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?

Re:The Beauty of Unix Pipelines by anthk on Friday June 05, 2020 @09:39AM (#23428370)
EVen 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++.

Re:The Beauty of Unix Pipelines by blacksqr on Thursday June 04, 2020 @07:53PM (#23423442)
> Even Tclsh with readline would be better than a Python shell

In fact, I think Tcl would make an excellent sh replacement.

Re:The Beauty of Unix Pipelines by yjftsjthsd-h on Thursday June 04, 2020 @10:22PM (#23424385)
So, wish(1)?
Re:The Beauty of Unix Pipelines by anthk on Friday June 05, 2020 @08:06AM (#23427537)
There 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.