Hello Adam, On 14/02/2008, Adam D. Barratt <[EMAIL PROTECTED]> wrote: > On Mon, 2008-02-11 at 22:58 -0600, Raphael Geissert wrote: > > Please add the following bashisms based on the next test: > > Out of interest, how often were these found during your archive scans?
I didn't include them in my last archive-wide scan, so I don't know. (but don't forget they are all bashisms :) > > > echo $SECONDS > > echo $OSTYPE > > echo $HOSTTYPE > > echo $MACHTYPE > > echo $HOSTNAME > > echo $DIRSTACK > > echo $EUID > > cat <<< 'echo moo!' > > bash <<< 'echo foo' > > I'm guessing "never" for these two :-) On the last two the bashism is the here string (<<<) > > > echo 'die!' > /dev/tcp/domain.tld/80 #Debian's bash doesn't support it, > but... > > echo 'die!' > /dev/udp/domain.tld/21 #Debian's bash doesn't support it > neither > > I definitely won't be adding: > > > echo $LINENO #posh _DOES_ display this one > > because it's not a bashism. In fact it's not even an XSIism. Err, right, sorry. It is referenced by[1]; seems like a missing feature in dash. [1]http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html > > Regards, > > > Adam > Cheers, -- Atomo64 - Raphael Please avoid sending me Word, PowerPoint or Excel attachments. See http://www.gnu.org/philosophy/no-word-attachments.html Say NO to Microsoft Office broken standard. See http://www.noooxml.org/petition -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]