2009-11-22 18:06:40 Martin Furter napisał(a): > > On Sun, 22 Nov 2009, Arfrever Frehtes Taifersar Arahesis wrote: > > > 2009-11-22 06:39:05 Martin Furter napisał(a): > >> > >> On Sun, 22 Nov 2009, Arfrever Frehtes Taifersar Arahesis wrote: > >> > >>> 2009-11-22 03:43:44 Martin Furter napisał(a): > >>>> > >>>> Little bugfix... > >>>> > >>>> Thanks, > >>>> Martin > >>>> > >>>> > >>>> [[[ > >>>> Change the shebang line from /bin/sh to /bin/bash because the script > >>>> contains bashims which do not work with /bin/sh on various UNICES. > >>> > >>> This script doesn't have any bashisms. What exactly causes problems? > >> > >> $(...) is a bashism > > > > No. $(command) is documented in POSIX: > > http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_03 > > Fuck POSIX. > > $ /bin/sh -c 'echo $(date)' > /bin/sh: syntax error at line 1: `(' unexpected > $ uname -a > SunOS enterprise 5.9 Generic_118558-22 sun4u sparc SUNW,Ultra-250
Please report a bug to developers of SunOS shell. -- Arfrever Frehtes Taifersar Arahesis
signature.asc
Description: This is a digitally signed message part.