Live data from Hacker News

Things I Wish I'd Known About Bash

zwischenzugs.com

271–272 of 272 posts

Re: Things I Wish I'd Known About Bash

#271

Earlier quoted context omitted.

Most distros ship with python3 (though `python` will refer to python2). Is there a reason you cannot just say `#!/usr/bin/env python3` in your scripts? I don't see why you require python3 to be the default, am I missing something here?

The first OS I've used that includes Python3 in the base install is Debian 8(Jessie) and I no longer use Debian in production. CentOS 7 does not include Python3 in the base install. You can install it, sure, but why bother when you can just use the python that is already there? Or better yet, /bin/bash... Again, in the context of this discussion, the whole argument is yet another point in shell's favor. There's no ma…

If you are using a ten year old software and can’t install a package, that’s your problem. Quit acting like it is the default situation.

Or you could put the wrapper functions in a module and call it a day, either way problem solved.

Re: Things I Wish I'd Known About Bash

#272

Earlier quoted context omitted.

The first OS I've used that includes Python3 in the base install is Debian 8(Jessie) and I no longer use Debian in production. CentOS 7 does not include Python3 in the base install. You can install it, sure, but why bother when you can just use the python that is already there? Or better yet, /bin/bash... Again, in the context of this discussion, the whole argument is yet another point in shell's favor. There's no ma…

If you are using a ten year old software and can’t install a package, that’s your problem. Quit acting like it is the default situation. Or you could put the wrapper functions in a module and call it a day, either way problem solved.

He's not acting like it's the default situation. For the distributions he mentioned, it is the default situation.
Post reply on HN