[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#119752: saydate: bashisms in supposedly /bin/sh script



Try $((2001-2000)) instead.

... Adam Conrad

-----Original Message-----
From: Sean Perry [mailto:shaleh@one.local] On Behalf Of Sean 'Shaleh'
Perry
Sent: Thursday, November 15, 2001 3:47 PM
To: Ian Zimmerman
Cc: 119752@bugs.debian.org
Subject: Bug#119752: saydate: bashisms in supposedly /bin/sh script



On 15-Nov-2001 Ian Zimmerman wrote:
> Package: saydate
> Version: 0.3.0-4
> Severity: normal
> 
> kronstadt:/tmp$ saydate
> saydate: cannot find /usr/share/saydate/$[2001-2000].raw
> kronstadt:/tmp$ file /bin/sh
> /bin/sh: symbolic link to /etc/alternatives/sh
> kronstadt:/tmp$ file /etc/alternatives/sh
> /etc/alternatives/sh: symbolic link to /bin/ash
> kronstadt:/tmp$ 
> 

specifically, the code depends on [18-10] return 8, i.e. bash allows
math in
place.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org




Reply to: