FS#19553 - [groff] bashishm in gdiffmk(1)

Attached to Project: Arch Linux
Opened by Andres P (llanero) - Friday, 21 May 2010, 03:44 GMT
Last edited by Gaetan Bisson (vesath) - Saturday, 19 February 2011, 18:34 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
gdiffmk(1) is #!/bin/sh but it has function definition bashisms

Additional info:
* package version(s): groff 1.20.1-4

$ checkbashisms -f /usr/bin/gdiffmk
possible bashism in /usr/bin/gdiffmk line 24 ('function' is useless):
function Usage {
possible bashism in /usr/bin/gdiffmk line 63 ('function' is useless):
function Exit {
possible bashism in /usr/bin/gdiffmk line 78 ('function' is useless):
function FileRead {
possible bashism in /usr/bin/gdiffmk line 100 ('function' is useless):
function FileCreate {
possible bashism in /usr/bin/gdiffmk line 118 ('function' is useless):
function WouldClobber {
possible bashism in /usr/bin/gdiffmk line 139 ('function' is useless):
function RequiresArgument {

$ dash -c 'type function'
function: not found

Steps to reproduce:
Use a shell that's not bash(1) as /bin/sh
This task depends upon

Closed by  Gaetan Bisson (vesath)
Saturday, 19 February 2011, 18:34 GMT
Reason for closing:  Upstream
Comment by Gaetan Bisson (vesath) - Saturday, 19 February 2011, 18:34 GMT
This is an upstream issue; please report there: http://www.gnu.org/software/groff/#lists

Loading...