groff-commit
[Top][All Lists]
Advanced

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

[groff] 06/10: Fix Savannah #64058 (shebang line space myth).


From: G. Branden Robinson
Subject: [groff] 06/10: Fix Savannah #64058 (shebang line space myth).
Date: Tue, 18 Jul 2023 10:49:50 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 20051ef338e4098b99c1e201546e7763177809f6
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Jul 17 03:50:41 2023 -0500

    Fix Savannah #64058 (shebang line space myth).
    
    * arch/djgpp/config.site:
    * arch/misc/shdeps.sh:
    * bootstrap:
    * contrib/chem/chem.pl:
    * contrib/eqn2graph/eqn2graph.sh:
    * contrib/gdiffmk/tests/runtests.sh:
    * contrib/glilypond/glilypond.pl:
    * contrib/gperl/gperl.pl:
    * contrib/gpinyin/gpinyin.pl:
    * contrib/grap2graph/grap2graph.sh:
    * contrib/pdfmark/pdfroff.sh:
    * contrib/pic2graph/pic2graph.sh:
    * font/devdvi/generate/CompileFonts:
    * font/devps/generate/afmname:
    * font/devps/generate/make-zapfdr:
    * font/util/make-Rproto:
    * gendef.sh:
    * m4/groff.m4:
    * mdate.pl:
    * src/devices/grops/grops.1.man:
    * src/devices/xditview/ad2c:
    * src/libs/libgroff/config.charset:
    * src/libs/libgroff/make-uniuni:
    * src/preproc/eqn/neqn.sh:
    * src/roff/nroff/nroff.sh:
    * src/utils/afmtodit/make-afmtodit-tables:
    * test-groff.in:
    * tmac/hyphenex.pl: Stop endorsing shebang line space myth.  Fixes
      <https://savannah.gnu.org/bugs/?64058>.
---
 ChangeLog                               | 23 +++++++++++++++++++++++
 arch/djgpp/config.site                  |  2 +-
 arch/misc/shdeps.sh                     |  2 +-
 bootstrap                               |  2 +-
 contrib/chem/ChangeLog                  |  5 +++++
 contrib/chem/chem.pl                    |  2 +-
 contrib/eqn2graph/eqn2graph.sh          |  2 +-
 contrib/gdiffmk/ChangeLog               |  5 +++++
 contrib/gdiffmk/tests/runtests.sh       |  2 +-
 contrib/glilypond/ChangeLog             |  5 +++++
 contrib/glilypond/glilypond.pl          |  2 +-
 contrib/gperl/ChangeLog                 |  5 +++++
 contrib/gperl/gperl.pl                  |  2 +-
 contrib/gpinyin/ChangeLog               |  5 +++++
 contrib/gpinyin/gpinyin.pl              |  2 +-
 contrib/grap2graph/grap2graph.sh        |  2 +-
 contrib/pdfmark/ChangeLog               |  5 +++++
 contrib/pdfmark/pdfroff.sh              |  2 +-
 contrib/pic2graph/pic2graph.sh          |  2 +-
 font/devdvi/generate/CompileFonts       |  2 +-
 font/devps/generate/afmname             |  2 +-
 font/devps/generate/make-zapfdr         |  2 +-
 font/util/make-Rproto                   |  2 +-
 gendef.sh                               |  2 +-
 m4/groff.m4                             |  2 +-
 mdate.pl                                |  2 +-
 src/devices/grops/grops.1.man           |  2 +-
 src/devices/xditview/ad2c               |  2 +-
 src/libs/libgroff/config.charset        |  2 +-
 src/libs/libgroff/make-uniuni           |  2 +-
 src/preproc/eqn/neqn.sh                 |  2 +-
 src/roff/nroff/nroff.sh                 |  2 +-
 src/utils/afmtodit/make-afmtodit-tables |  2 +-
 test-groff.in                           |  2 +-
 tmac/hyphenex.pl                        |  2 +-
 35 files changed, 81 insertions(+), 28 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 291573618..2d2073e8c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,26 @@
+2023-07-17  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * arch/djgpp/config.site:
+       * arch/misc/shdeps.sh:
+       * bootstrap:
+       * font/devdvi/generate/CompileFonts:
+       * font/devps/generate/afmname:
+       * font/devps/generate/make-zapfdr:
+       * font/util/make-Rproto:
+       * gendef.sh:
+       * m4/groff.m4:
+       * mdate.pl:
+       * src/devices/grops/grops.1.man:
+       * src/devices/xditview/ad2c:
+       * src/libs/libgroff/config.charset:
+       * src/libs/libgroff/make-uniuni:
+       * src/preproc/eqn/neqn.sh:
+       * src/roff/nroff/nroff.sh:
+       * src/utils/afmtodit/make-afmtodit-tables:
+       * test-groff.in:
+       * tmac/hyphenex.pl: Stop endorsing shebang line space myth.
+       Fixes <https://savannah.gnu.org/bugs/?64058>.
+
 2023-07-16  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * m4/groff.m4 (GROFF_PROG_YACC): Behave more like `AC_PROG_YACC`
diff --git a/arch/djgpp/config.site b/arch/djgpp/config.site
index a463ad93b..a471fbce4 100644
--- a/arch/djgpp/config.site
+++ b/arch/djgpp/config.site
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 
 # Copyright (C) 2000-2020 Free Software Foundation, Inc.
 #
diff --git a/arch/misc/shdeps.sh b/arch/misc/shdeps.sh
index 844b3682a..79fbcb759 100644
--- a/arch/misc/shdeps.sh
+++ b/arch/misc/shdeps.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 # shdeps.sh: Generate OS dependency fixups, for 'groff' shell scripts
 #
 # Copyright (C) 2004-2020 Free Software Foundation, Inc.
diff --git a/bootstrap b/bootstrap
index 87cbf7c8b..d49057f15 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 # Print a version string.
 scriptversion=2022-03-21.01; # UTC
 
diff --git a/contrib/chem/ChangeLog b/contrib/chem/ChangeLog
index ad40944e5..ecedb1410 100644
--- a/contrib/chem/ChangeLog
+++ b/contrib/chem/ChangeLog
@@ -1,3 +1,8 @@
+2023-07-17  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * chem.pl: Stop endorsing shebang line space myth.  See
+       <https://savannah.gnu.org/bugs/?64058>.
+
 2022-08-18  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * chem.pl: Refactor.
diff --git a/contrib/chem/chem.pl b/contrib/chem/chem.pl
index 5ca3fa25b..1a2c1b6ff 100755
--- a/contrib/chem/chem.pl
+++ b/contrib/chem/chem.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/env perl
 
 # chem - a groff preprocessor for producing chemical structure diagrams
 
diff --git a/contrib/eqn2graph/eqn2graph.sh b/contrib/eqn2graph/eqn2graph.sh
index 3e9c37486..0929a2144 100644
--- a/contrib/eqn2graph/eqn2graph.sh
+++ b/contrib/eqn2graph/eqn2graph.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 #
 # eqn2graph -- compile EQN equation descriptions to bitmap images
 #
diff --git a/contrib/gdiffmk/ChangeLog b/contrib/gdiffmk/ChangeLog
index bc968bbd5..b0c7c0095 100644
--- a/contrib/gdiffmk/ChangeLog
+++ b/contrib/gdiffmk/ChangeLog
@@ -1,3 +1,8 @@
+2023-07-17  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tests/runtests.sh: Stop endorsing shebang line space myth.
+       See <https://savannah.gnu.org/bugs/?64058>.
+
 2023-02-09  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        Revise test regime.  Reduce amount of indirection required to
diff --git a/contrib/gdiffmk/tests/runtests.sh 
b/contrib/gdiffmk/tests/runtests.sh
index 51cf855a3..debd30ca0 100755
--- a/contrib/gdiffmk/tests/runtests.sh
+++ b/contrib/gdiffmk/tests/runtests.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 #
 #      A very simple function test for gdiffmk.sh.
 #
diff --git a/contrib/glilypond/ChangeLog b/contrib/glilypond/ChangeLog
index c21861006..3eb826848 100644
--- a/contrib/glilypond/ChangeLog
+++ b/contrib/glilypond/ChangeLog
@@ -1,3 +1,8 @@
+2023-07-17  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * glilypond.pl: Stop endorsing shebang line space myth.  See
+       <https://savannah.gnu.org/bugs/?64058>.
+
 2022-10-19  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * glilypond.pl (version): Report version information in format
diff --git a/contrib/glilypond/glilypond.pl b/contrib/glilypond/glilypond.pl
index e97ed2437..1f14397db 100755
--- a/contrib/glilypond/glilypond.pl
+++ b/contrib/glilypond/glilypond.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/env perl
 
 package main;
 
diff --git a/contrib/gperl/ChangeLog b/contrib/gperl/ChangeLog
index 813c320e0..a014b8c37 100644
--- a/contrib/gperl/ChangeLog
+++ b/contrib/gperl/ChangeLog
@@ -1,3 +1,8 @@
+2023-07-17  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * gperl.pl: Stop endorsing shebang line space myth.  See
+       <https://savannah.gnu.org/bugs/?64058>.
+
 2022-10-09  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * gperl.pl: Include groff version information when reporting our
diff --git a/contrib/gperl/gperl.pl b/contrib/gperl/gperl.pl
index 2f9f7d1cd..a96b4ae38 100755
--- a/contrib/gperl/gperl.pl
+++ b/contrib/gperl/gperl.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/env perl
 
 # gperl - add Perl part to groff files, this is the preprocessor for that
 
diff --git a/contrib/gpinyin/ChangeLog b/contrib/gpinyin/ChangeLog
index 53cc22880..df1a371cf 100644
--- a/contrib/gpinyin/ChangeLog
+++ b/contrib/gpinyin/ChangeLog
@@ -1,3 +1,8 @@
+2023-07-17  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * gpinyin.pl: Stop endorsing shebang line space myth.  See
+       <https://savannah.gnu.org/bugs/?64058>.
+
 2022-10-09  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * gpinyin.pl: Report groff version number along with this
diff --git a/contrib/gpinyin/gpinyin.pl b/contrib/gpinyin/gpinyin.pl
index 73b303427..daef1074c 100755
--- a/contrib/gpinyin/gpinyin.pl
+++ b/contrib/gpinyin/gpinyin.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/env perl
 
 # gpinyin - European-like Chinese writing 'pinyin' into 'groff'
 
diff --git a/contrib/grap2graph/grap2graph.sh b/contrib/grap2graph/grap2graph.sh
index 29df25bb1..49a990c5d 100644
--- a/contrib/grap2graph/grap2graph.sh
+++ b/contrib/grap2graph/grap2graph.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 #
 # grap2graph -- compile graph description descriptions to bitmap images
 #
diff --git a/contrib/pdfmark/ChangeLog b/contrib/pdfmark/ChangeLog
index 6472426a2..b165b42d6 100644
--- a/contrib/pdfmark/ChangeLog
+++ b/contrib/pdfmark/ChangeLog
@@ -1,3 +1,8 @@
+2023-07-17  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * pdfroff.sh: Stop endorsing shebang line space myth.  See
+       <https://savannah.gnu.org/bugs/?64058>.
+
 2023-02-24  Keith Marshall  <keith.d.marshall@ntlworld.com>
 
        Do not emit redundant 'pdfhref Z' records.
diff --git a/contrib/pdfmark/pdfroff.sh b/contrib/pdfmark/pdfroff.sh
index 6b6f5d711..5c41559e7 100644
--- a/contrib/pdfmark/pdfroff.sh
+++ b/contrib/pdfmark/pdfroff.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 # 
------------------------------------------------------------------------------
 #
 # Function: Format PDF Output from groff Markup
diff --git a/contrib/pic2graph/pic2graph.sh b/contrib/pic2graph/pic2graph.sh
index b22991483..70286b6b1 100644
--- a/contrib/pic2graph/pic2graph.sh
+++ b/contrib/pic2graph/pic2graph.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 #
 # pic2graph -- compile PIC image descriptions to bitmap images
 #
diff --git a/font/devdvi/generate/CompileFonts 
b/font/devdvi/generate/CompileFonts
index 0d07529a0..c46f606ee 100755
--- a/font/devdvi/generate/CompileFonts
+++ b/font/devdvi/generate/CompileFonts
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 # Compile fonts in the sizes needed by groff.
 sizes="5 6 7 8 9 10 10.95 12 14 14.40 16 17.28 18 20 20.74 22 24 24.88 28 36"
 fonts="cmr10 cmti10 cmbx10 cmbxti10 cmtt10 cmex10 cmmi10 cmsy10 cmss10 
cmssbx10 cmssi10"
diff --git a/font/devps/generate/afmname b/font/devps/generate/afmname
index 7d1934930..3e837df22 100755
--- a/font/devps/generate/afmname
+++ b/font/devps/generate/afmname
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 # Fix the path name of an AFM file.
 if test -f "$1"
 then
diff --git a/font/devps/generate/make-zapfdr b/font/devps/generate/make-zapfdr
index ee80bf0f4..89119fb8a 100755
--- a/font/devps/generate/make-zapfdr
+++ b/font/devps/generate/make-zapfdr
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 #
 # make-zapfdr -- script for creating the file zapfdr.ps
 #
diff --git a/font/util/make-Rproto b/font/util/make-Rproto
index 9c8aca516..bef5d8e79 100755
--- a/font/util/make-Rproto
+++ b/font/util/make-Rproto
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 #
 # make-Rproto -- script for creating an R.proto file
 #
diff --git a/gendef.sh b/gendef.sh
index bb30a4f18..73a0aa834 100644
--- a/gendef.sh
+++ b/gendef.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 #
 # Copyright (C) 1991-2020 Free Software Foundation, Inc.
 # 
diff --git a/m4/groff.m4 b/m4/groff.m4
index 42d8605bb..ea357855b 100644
--- a/m4/groff.m4
+++ b/m4/groff.m4
@@ -651,7 +651,7 @@ AC_DEFUN([GROFF_CSH_HACK],
   [AC_MSG_CHECKING([for csh hash hack])
 
 cat <<EOF >conftest.sh
-#! /bin/sh
+#!/bin/sh
 true || exit 0
 export PATH || exit 0
 exit 1
diff --git a/mdate.pl b/mdate.pl
index b16044def..c105479b8 100755
--- a/mdate.pl
+++ b/mdate.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/env perl
 #
 # Copyright (C) 1991-2020 Free Software Foundation, Inc.
 # 
diff --git a/src/devices/grops/grops.1.man b/src/devices/grops/grops.1.man
index 53014ee1b..dc7736be0 100644
--- a/src/devices/grops/grops.1.man
+++ b/src/devices/grops/grops.1.man
@@ -1286,7 +1286,7 @@ produces an EPS file.
 .RS
 .P
 .EX
-#! /bin/sh
+#!/bin/sh
 groff \-P\-b16 "$1" > "$1".ps
 gs \-dNOPAUSE \-sDEVICE=bbox \-\- "$1".ps 2> "$1".bbox
 sed \-e "/\[ha]%%Orientation/r $1.bbox" \[rs]
diff --git a/src/devices/xditview/ad2c b/src/devices/xditview/ad2c
index 2ec45ed9a..5b27d61ca 100644
--- a/src/devices/xditview/ad2c
+++ b/src/devices/xditview/ad2c
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 #
 #      ad2c : Convert app-defaults file to C strings decls.
 #
diff --git a/src/libs/libgroff/config.charset b/src/libs/libgroff/config.charset
index 8fca485b8..ad9d14ae8 100755
--- a/src/libs/libgroff/config.charset
+++ b/src/libs/libgroff/config.charset
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 # Output a system dependent table of character encoding aliases.
 #
 #   Copyright (C) 2000-2020 Free Software Foundation, Inc.
diff --git a/src/libs/libgroff/make-uniuni b/src/libs/libgroff/make-uniuni
index 386eacdfa..f2263715e 100755
--- a/src/libs/libgroff/make-uniuni
+++ b/src/libs/libgroff/make-uniuni
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 #
 # make-uniuni -- script for creating the file uniuni.cpp
 #
diff --git a/src/preproc/eqn/neqn.sh b/src/preproc/eqn/neqn.sh
index fb8d616d9..edfe9bdfc 100644
--- a/src/preproc/eqn/neqn.sh
+++ b/src/preproc/eqn/neqn.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 # Copyright (C) 2014-2020 Free Software Foundation, Inc.
 #
 # This file is part of groff.
diff --git a/src/roff/nroff/nroff.sh b/src/roff/nroff/nroff.sh
index 77f5c069e..dd48dbf86 100644
--- a/src/roff/nroff/nroff.sh
+++ b/src/roff/nroff/nroff.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 # Emulate nroff with groff.
 #
 # Copyright (C) 1992-2021 Free Software Foundation, Inc.
diff --git a/src/utils/afmtodit/make-afmtodit-tables 
b/src/utils/afmtodit/make-afmtodit-tables
index 937bb728e..9265e0618 100755
--- a/src/utils/afmtodit/make-afmtodit-tables
+++ b/src/utils/afmtodit/make-afmtodit-tables
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 #
 # make-afmtodit-tables -- script for creating the 'unicode_decomposed'
 #                         and 'AGL_to_unicode' tables
diff --git a/test-groff.in b/test-groff.in
index ff6176715..36a109761 100644
--- a/test-groff.in
+++ b/test-groff.in
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 #
 # Copyright (C) 1989-2020 Free Software Foundation, Inc.
 #
diff --git a/tmac/hyphenex.pl b/tmac/hyphenex.pl
index aee5845bd..6e28b1321 100644
--- a/tmac/hyphenex.pl
+++ b/tmac/hyphenex.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/env perl
 #
 #
 # hyphenex.pl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]