Hacker News .hnnew | past | comments | ask | show | jobs | submit | sshd's commentslogin

NSA has entered the chat


Blockchain


This is frankly a stupid analogy. To use your analogy, so because your bike can't ride over a mountain, the one time you decided to ride over a mountain in 23 years, you conclude your trusty bike of 23 years is not good?


Of course you can ride over a mountain, it's just harder. ;)


Gobbles says hi

Gobble Gobble :PppPPPpppPP


If my bash script is more than 10 lines, I switch to python and if that's more than 10 lines I switch to C! And if that's more than 10 lines I use assembly!

/s


This is so sad but so true!


I think this is the closest I've seen to a native bash implementation but the plugin is ... bending the meaning of native bash. Still very awesome


The plugin is for older bash. 5.2 includes it. It's built by default, but opensuse puts it in the bash-loadables package.

Edit: I'm not sure what other distros might do with it.


+1 on this. Would love to see this using bash built-ins if possible. /dev/tcp might be a start.


I believe the issue is that bash has no built-in method for creating a listening socket / accepting connections.

/dev/tcp can only connect to a listening socket, not create one.



I definitely want to try work this out but I couldn't find much in the way of documentation, I'll give it a go when I have more time :)


That only works for outgoing connections, sadly


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: