News for hackers. Stuff that matters.
Re:Poll: Language Use by silentbicycle on Sunday December 06, 2009 @03:44PM (#980139)
Does it make sense to require bash as a dependency for a program that ignorantly hardcoded it in a two-line shell script in its test suite?

(I mean, I'd just patch it in the port, but it's annoying in the same way as people sending e-mail wrapped inside a Word file for no reason.)

Re:Poll: Language Use by prodigal_erik on Sunday December 06, 2009 @04:25PM (#980188)
Rational ignorance. The bash warnings about non-POSIX features have a reputation for being unreliable, so if I've only tested with bash (because I don't care enough to set up chroot) I shouldn't claim it works with any other shell.
Re:Poll: Language Use by silentbicycle on Sunday December 06, 2009 @05:10PM (#980234)
No no no, I'm not saying it's testing a shell script, I'm talking about requiring bash for a script that literally says:

   #!/usr/local/bin/bash
   prog_name some_argument
Or, worse yet, programs that exec a command by using bash internally.
Re:Poll: Language Use by prodigal_erik on Monday December 07, 2009 @02:18AM (#980870)
Well ... maybe using a shell to run a command worked differently in 1971. There's $IFS ... job control ...

Okay, yeah, there has never been a shell on which that wouldn't work. WTF bonus points for requring /usr/local/bin, which is almost certainly not where the OS maintainers package it.

Re:Poll: Language Use by nailer on Tuesday December 08, 2009 @03:44PM (#984579)
The argument could be a filename. The filename could have a space in it. So yes, I'd use a shell that has $@ rather than $*, a settable IFS, etc.