|
|
Subscribe / Log in / New account

Bash gets shellshocked

Bash gets shellshocked

Posted Oct 2, 2014 0:05 UTC (Thu) by pabs (subscriber, #43278)
Parent article: Bash gets shellshocked

Friends don't let Friends use system(), popen() etc!

http://bonedaddy.net/pabs3/log/2014/02/17/pid-preservatio...


to post comments

Bash gets shellshocked

Posted Oct 2, 2014 18:32 UTC (Thu) by drag (guest, #31333) [Link] (2 responses)

One of my favorite pet peeves is that when people program decide to program in perl, but their perl code ends up just executing a endless number of shell commands... especially when the perl built-ins or standard modules have much easier/faster functions to perform common tasks.

Bash gets shellshocked

Posted Oct 2, 2014 18:41 UTC (Thu) by dlang (guest, #313) [Link] (1 responses)

one of my "professional programmer" horror stories was when a short (20 line, and admittedly ugly) shell script I wrote was handed over to the company Engineering team to take ownership and responsibility for. Four months later we got the result back, a 200 line perl program with about 15 different subroutines that all ended up doing $command .= 'line from my original script'; system($command).

Bash gets shellshocked

Posted Oct 23, 2014 8:08 UTC (Thu) by pabs (subscriber, #43278) [Link]

**shudder**


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds