summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Myllynen <myllynen@redhat.com>2016-01-07 10:51:53 +0200
committerMike Frysinger <vapier@gentoo.org>2016-01-07 04:03:21 -0500
commit48d0341cdd41040714f1e9896efe89d49296bc78 (patch)
treeb0b146fbd564e2700487e917a0e4ad5fcd787c2b
parentd7f914848b7d5e9b11bbffd1fecc4659d4acdc2d (diff)
downloadglibc-48d0341cdd41040714f1e9896efe89d49296bc78.tar.gz
Make shebang interpreter directives consistent
-rw-r--r--ChangeLog58
-rwxr-xr-xcatgets/test-gencat.sh2
-rw-r--r--conform/GlibcConform.pm2
-rwxr-xr-xconform/check-header-lists.sh2
-rw-r--r--conform/conformtest.pl2
-rw-r--r--conform/linknamespace.pl2
-rw-r--r--conform/list-header-symbols.pl2
-rwxr-xr-xdebug/catchsegv.sh2
-rw-r--r--elf/genrtldtbl.awk2
-rwxr-xr-xelf/tst-pathopt.sh2
-rwxr-xr-xelf/tst-rtld-load-self.sh2
-rw-r--r--grp/tst_fgetgrent.sh2
-rw-r--r--iconvdata/gen-8bit-gap-1.sh2
-rw-r--r--iconvdata/gen-8bit-gap.sh2
-rw-r--r--iconvdata/gen-8bit.sh2
-rwxr-xr-xiconvdata/run-iconv-test.sh2
-rwxr-xr-xintl/tst-gettext.sh2
-rw-r--r--intl/tst-gettext2.sh2
-rwxr-xr-xintl/tst-gettext4.sh2
-rw-r--r--intl/tst-gettext6.sh2
-rwxr-xr-xintl/tst-translit.sh2
-rw-r--r--io/ftwtest-sh2
-rwxr-xr-xlibio/test-freopen.sh2
-rw-r--r--locale/gen-translit.pl2
-rw-r--r--localedata/ChangeLog12
-rw-r--r--localedata/gen-locale.sh2
-rw-r--r--localedata/sort-test.sh2
-rwxr-xr-xlocaledata/tst-ctype.sh2
-rwxr-xr-xlocaledata/tst-fmon.sh2
-rwxr-xr-xlocaledata/tst-langinfo.sh2
-rwxr-xr-xlocaledata/tst-locale.sh2
-rw-r--r--localedata/tst-numeric.sh2
-rwxr-xr-xlocaledata/tst-rpmatch.sh2
-rwxr-xr-xlocaledata/tst-trans.sh2
-rwxr-xr-xmalloc/tst-mtrace.sh2
-rw-r--r--manual/check-safety.sh2
-rw-r--r--manual/libc-texinfo.sh2
-rw-r--r--manual/tsort.awk2
-rw-r--r--manual/xtract-typefun.awk2
-rw-r--r--nptl/tst-cancel-wrappers.sh2
-rwxr-xr-xnptl/tst-tls6.sh2
-rwxr-xr-xposix/globtest.sh2
-rw-r--r--posix/tst-getconf.sh2
-rwxr-xr-xposix/wordexp-tst.sh2
-rwxr-xr-xscripts/check-c++-types.sh2
-rwxr-xr-xscripts/check-local-headers.sh2
-rwxr-xr-xscripts/config.guess2
-rwxr-xr-xscripts/config.sub2
-rwxr-xr-xscripts/cpp2
-rwxr-xr-xscripts/cross-test-ssh.sh2
-rw-r--r--scripts/documented.sh2
-rwxr-xr-xscripts/evaluate-test.sh2
-rw-r--r--scripts/gen-libc-abis2
-rwxr-xr-xscripts/gen-sorted.awk2
-rwxr-xr-xscripts/list-fixed-bugs.py2
-rwxr-xr-xscripts/merge-test-results.sh2
-rwxr-xr-xscripts/mkinstalldirs2
-rwxr-xr-xscripts/rellns-sh2
-rwxr-xr-xscripts/test-installation.pl2
-rwxr-xr-xscripts/update-copyrights2
-rw-r--r--stdio-common/tst-printf.sh2
-rwxr-xr-xstdio-common/tst-unbputc.sh2
-rwxr-xr-xstdlib/tst-fmtmsg.sh2
-rw-r--r--stdlib/tst-setcontext3.sh2
-rwxr-xr-xsysdeps/i386/tst-ld-sse-use.sh2
-rw-r--r--sysdeps/unix/make-syscalls.sh2
66 files changed, 134 insertions, 64 deletions
diff --git a/ChangeLog b/ChangeLog
index acaf7a87a0..7dc2a942a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,61 @@
+2016-01-07 Marko Myllynen <myllynen@redhat.com>
+
+ * catgets/test-gencat.sh: Remove space after shebang.
+ * conform/GlibcConform.pm: Likewise.
+ * conform/check-header-lists.sh: Likewise.
+ * conform/conformtest.pl: Likewise.
+ * conform/linknamespace.pl: Likewise.
+ * conform/list-header-symbols.pl: Likewise.
+ * debug/catchsegv.sh: Likewise.
+ * elf/genrtldtbl.awk: Likewise.
+ * elf/tst-pathopt.sh: Likewise.
+ * elf/tst-rtld-load-self.sh: Likewise.
+ * grp/tst_fgetgrent.sh: Likewise.
+ * iconvdata/gen-8bit-gap-1.sh: Likewise.
+ * iconvdata/gen-8bit-gap.sh: Likewise.
+ * iconvdata/gen-8bit.sh: Likewise.
+ * iconvdata/run-iconv-test.sh: Likewise.
+ * intl/tst-gettext.sh: Likewise.
+ * intl/tst-gettext2.sh: Likewise.
+ * intl/tst-gettext4.sh: Likewise.
+ * intl/tst-gettext6.sh: Likewise.
+ * intl/tst-translit.sh: Likewise.
+ * io/ftwtest-sh: Likewise.
+ * libio/test-freopen.sh: Likewise.
+ * locale/gen-translit.pl: Likewise.
+ * malloc/tst-mtrace.sh: Likewise.
+ * manual/check-safety.sh: Likewise.
+ * manual/libc-texinfo.sh: Likewise.
+ * manual/tsort.awk: Likewise.
+ * manual/xtract-typefun.awk: Likewise.
+ * nptl/tst-cancel-wrappers.sh: Likewise.
+ * nptl/tst-tls6.sh: Likewise.
+ * posix/globtest.sh: Likewise.
+ * posix/tst-getconf.sh: Likewise.
+ * posix/wordexp-tst.sh: Likewise.
+ * scripts/check-c++-types.sh: Likewise.
+ * scripts/check-local-headers.sh: Likewise.
+ * scripts/config.guess: Likewise.
+ * scripts/config.sub: Likewise.
+ * scripts/cpp: Likewise.
+ * scripts/cross-test-ssh.sh: Likewise.
+ * scripts/documented.sh: Likewise.
+ * scripts/evaluate-test.sh: Likewise.
+ * scripts/gen-libc-abis: Likewise.
+ * scripts/gen-sorted.awk: Likewise.
+ * scripts/list-fixed-bugs.py: Likewise.
+ * scripts/merge-test-results.sh: Likewise.
+ * scripts/mkinstalldirs: Likewise.
+ * scripts/rellns-sh: Likewise.
+ * scripts/test-installation.pl: Likewise.
+ * scripts/update-copyrights: Likewise.
+ * stdio-common/tst-printf.sh: Likewise.
+ * stdio-common/tst-unbputc.sh: Likewise.
+ * stdlib/tst-fmtmsg.sh: Likewise.
+ * stdlib/tst-setcontext3.sh: Likewise.
+ * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
+ * sysdeps/unix/make-syscalls.sh: Likewise.
+
2016-01-06 John David Anglin <dave.anglin@bell.net>
* sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
diff --git a/catgets/test-gencat.sh b/catgets/test-gencat.sh
index a672f123d8..48b21207c9 100755
--- a/catgets/test-gencat.sh
+++ b/catgets/test-gencat.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test escape character handling in gencat.
# Copyright (C) 2000-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/conform/GlibcConform.pm b/conform/GlibcConform.pm
index 3f4dc2061f..b83204384e 100644
--- a/conform/GlibcConform.pm
+++ b/conform/GlibcConform.pm
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#!/usr/bin/perl
# Shared code for glibc conformance tests.
diff --git a/conform/check-header-lists.sh b/conform/check-header-lists.sh
index f6e76c6ade..849dfbcbce 100755
--- a/conform/check-header-lists.sh
+++ b/conform/check-header-lists.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Check the set of headers with conformtest expectations for a given standard.
# Copyright (C) 2014-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/conform/conformtest.pl b/conform/conformtest.pl
index cc0944a889..fedcbc3f16 100644
--- a/conform/conformtest.pl
+++ b/conform/conformtest.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#!/usr/bin/perl
use GlibcConform;
use Getopt::Long;
diff --git a/conform/linknamespace.pl b/conform/linknamespace.pl
index d6a18503a7..4b7b288165 100644
--- a/conform/linknamespace.pl
+++ b/conform/linknamespace.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#!/usr/bin/perl
# Check that use of symbols declared in a given header does not result
# in any symbols being brought in that are not reserved with external
diff --git a/conform/list-header-symbols.pl b/conform/list-header-symbols.pl
index 2b012c7457..ab7ae57894 100644
--- a/conform/list-header-symbols.pl
+++ b/conform/list-header-symbols.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#!/usr/bin/perl
# Print a list of symbols exported by some headers that would
# otherwise be in the user's namespace.
diff --git a/debug/catchsegv.sh b/debug/catchsegv.sh
index a4ef821ea0..3c788d2125 100755
--- a/debug/catchsegv.sh
+++ b/debug/catchsegv.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Copyright (C) 1998-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
diff --git a/elf/genrtldtbl.awk b/elf/genrtldtbl.awk
index 54cdc8c589..0e2a374901 100644
--- a/elf/genrtldtbl.awk
+++ b/elf/genrtldtbl.awk
@@ -1,4 +1,4 @@
-#! /usr/bin/awk
+#!/usr/bin/awk
BEGIN {
FS=":";
count=0;
diff --git a/elf/tst-pathopt.sh b/elf/tst-pathopt.sh
index 892f22ef84..309b628bc9 100755
--- a/elf/tst-pathopt.sh
+++ b/elf/tst-pathopt.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test lookup path optimization.
# Copyright (C) 2000-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/elf/tst-rtld-load-self.sh b/elf/tst-rtld-load-self.sh
index a5488d3f71..aa97ee6ca9 100755
--- a/elf/tst-rtld-load-self.sh
+++ b/elf/tst-rtld-load-self.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test how rtld loads itself.
# Copyright (C) 2012-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/grp/tst_fgetgrent.sh b/grp/tst_fgetgrent.sh
index e7837bd667..8dbf095ba9 100644
--- a/grp/tst_fgetgrent.sh
+++ b/grp/tst_fgetgrent.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Copyright (C) 1999-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1999.
diff --git a/iconvdata/gen-8bit-gap-1.sh b/iconvdata/gen-8bit-gap-1.sh
index e86ac53e89..46567f235f 100644
--- a/iconvdata/gen-8bit-gap-1.sh
+++ b/iconvdata/gen-8bit-gap-1.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
echo "static const uint32_t iso88597_to_ucs4[96] = {"
sed -ne '/^[^[:space:]]*[[:space:]]*.x00/d;/^END/q' \
-e 's/^<U\(....\)>[[:space:]]*.x\([A-Fa-f].\).*/ [0x\2 - 0xA0] = 0x\1,/p' \
diff --git a/iconvdata/gen-8bit-gap.sh b/iconvdata/gen-8bit-gap.sh
index e1dabaebdb..bcd6d12ce1 100644
--- a/iconvdata/gen-8bit-gap.sh
+++ b/iconvdata/gen-8bit-gap.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
echo "static const uint32_t to_ucs4[256] = {"
sed -ne '/^[^[:space:]]*[[:space:]]*.x00/d;/^END/q' \
-e 's/^<U\(....\)>[[:space:]]*.x\(..\).*/ [0x\2] = 0x\1,/p' \
diff --git a/iconvdata/gen-8bit.sh b/iconvdata/gen-8bit.sh
index d1a21bc03d..94de6fdd09 100644
--- a/iconvdata/gen-8bit.sh
+++ b/iconvdata/gen-8bit.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
echo "static const uint32_t to_ucs4[256] = {"
sed -ne '/^[^[:space:]]*[[:space:]]*.x00/d;/^END/q' \
-e 's/^<U\(....\)>[[:space:]]*.x\(..\).*/ [0x\2] = 0x\1,/p' \
diff --git a/iconvdata/run-iconv-test.sh b/iconvdata/run-iconv-test.sh
index c18072668e..2e7105a2d9 100755
--- a/iconvdata/run-iconv-test.sh
+++ b/iconvdata/run-iconv-test.sh
@@ -1,4 +1,4 @@
-#! /bin/sh -f
+#!/bin/sh -f
# Run available iconv(1) tests.
# Copyright (C) 1998-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/intl/tst-gettext.sh b/intl/tst-gettext.sh
index 3c83645652..fe8bd2896f 100755
--- a/intl/tst-gettext.sh
+++ b/intl/tst-gettext.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test of gettext functions.
# Copyright (C) 2000-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/intl/tst-gettext2.sh b/intl/tst-gettext2.sh
index 6d791752a6..ae02455f07 100644
--- a/intl/tst-gettext2.sh
+++ b/intl/tst-gettext2.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test of gettext functions.
# Copyright (C) 2000-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/intl/tst-gettext4.sh b/intl/tst-gettext4.sh
index fac7d8889e..f692b431e3 100755
--- a/intl/tst-gettext4.sh
+++ b/intl/tst-gettext4.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test that gettext() in multithreaded applications works correctly if
# different threads operate in different locales with the same encoding.
# Copyright (C) 2001-2016 Free Software Foundation, Inc.
diff --git a/intl/tst-gettext6.sh b/intl/tst-gettext6.sh
index 9d2d7f4ab3..88bf50d6a2 100644
--- a/intl/tst-gettext6.sh
+++ b/intl/tst-gettext6.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test that gettext() in multithreaded applications works correctly.
# Copyright (C) 2008-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/intl/tst-translit.sh b/intl/tst-translit.sh
index b1c5a3ff6b..a29a0e86f8 100755
--- a/intl/tst-translit.sh
+++ b/intl/tst-translit.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test of transliteration in gettext functions.
# Copyright (C) 2000-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/io/ftwtest-sh b/io/ftwtest-sh
index 8a440e8de4..db8435ab5a 100644
--- a/io/ftwtest-sh
+++ b/io/ftwtest-sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test for nftw(3).
# Copyright (C) 1997-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/libio/test-freopen.sh b/libio/test-freopen.sh
index 318bac937c..5db163fb4b 100755
--- a/libio/test-freopen.sh
+++ b/libio/test-freopen.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test of freopen.
# Copyright (C) 2000-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/locale/gen-translit.pl b/locale/gen-translit.pl
index 5f30e30851..30d3f2f195 100644
--- a/locale/gen-translit.pl
+++ b/locale/gen-translit.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/perl -w
+#!/usr/bin/perl -w
open F, "cat C-translit.h.in | gcc -E - |" || die "Cannot preprocess input file";
diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index c14bb2c661..7baecb4890 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,3 +1,15 @@
+2016-01-07 Marko Myllynen <myllynen@redhat.com>
+
+ * gen-locale.sh: Remove space after shebang.
+ * sort-test.sh: Likewise.
+ * tst-ctype.sh: Likewise.
+ * tst-fmon.sh: Likewise.
+ * tst-langinfo.sh: Likewise.
+ * tst-locale.sh: Likewise.
+ * tst-numeric.sh: Likewise.
+ * tst-rpmatch.sh: Likewise.
+ * tst-trans.sh: Likewise.
+
2016-01-04 Joseph Myers <joseph@codesourcery.com>
* All files with FSF copyright notices: Update copyright dates
diff --git a/localedata/gen-locale.sh b/localedata/gen-locale.sh
index ce1b9c8aaa..d471086d0d 100644
--- a/localedata/gen-locale.sh
+++ b/localedata/gen-locale.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Generate test locale files.
# Copyright (C) 2000-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/localedata/sort-test.sh b/localedata/sort-test.sh
index 42d9e7c502..7b6927236c 100644
--- a/localedata/sort-test.sh
+++ b/localedata/sort-test.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test collation using xfrm-test.
# Copyright (C) 1997-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/localedata/tst-ctype.sh b/localedata/tst-ctype.sh
index d5439bfdbb..eb7bdc85e9 100755
--- a/localedata/tst-ctype.sh
+++ b/localedata/tst-ctype.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Testing the implementation of the isxxx() and toxxx() functions.
# Copyright (C) 2000-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/localedata/tst-fmon.sh b/localedata/tst-fmon.sh
index c244c87cec..bec4322da0 100755
--- a/localedata/tst-fmon.sh
+++ b/localedata/tst-fmon.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Testing the implementation of strfmon(3).
# Copyright (C) 1996-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/localedata/tst-langinfo.sh b/localedata/tst-langinfo.sh
index c643763429..835d7c0030 100755
--- a/localedata/tst-langinfo.sh
+++ b/localedata/tst-langinfo.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test nl_langinfo.
# Copyright (C) 2000-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/localedata/tst-locale.sh b/localedata/tst-locale.sh
index fd1edf7af0..202936d4c7 100755
--- a/localedata/tst-locale.sh
+++ b/localedata/tst-locale.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Testing the implementation of localedata.
# Copyright (C) 1998-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/localedata/tst-numeric.sh b/localedata/tst-numeric.sh
index f1e68c2884..77c2215104 100644
--- a/localedata/tst-numeric.sh
+++ b/localedata/tst-numeric.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Testing the implementation of LC_NUMERIC and snprintf(3).
# Copyright (C) 1996-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/localedata/tst-rpmatch.sh b/localedata/tst-rpmatch.sh
index 1d0d69aadf..45ffabad60 100755
--- a/localedata/tst-rpmatch.sh
+++ b/localedata/tst-rpmatch.sh
@@ -1,4 +1,4 @@
-#! /bin/sh -f
+#!/bin/sh -f
#
# Copyright (C) 1998-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library and contains tests for
diff --git a/localedata/tst-trans.sh b/localedata/tst-trans.sh
index be03ef625f..ea8bb51c61 100755
--- a/localedata/tst-trans.sh
+++ b/localedata/tst-trans.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test character mapping definitions.
# Copyright (C) 1999-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/malloc/tst-mtrace.sh b/malloc/tst-mtrace.sh
index 06fb5dcf4c..cbcaea8122 100755
--- a/malloc/tst-mtrace.sh
+++ b/malloc/tst-mtrace.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Testing the mtrace function.
# Copyright (C) 2000-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/manual/check-safety.sh b/manual/check-safety.sh
index 8867ed9d9b..2eba0009e8 100644
--- a/manual/check-safety.sh
+++ b/manual/check-safety.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Copyright 2014-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/manual/libc-texinfo.sh b/manual/libc-texinfo.sh
index 1ef09fcbb4..4d0a52213b 100644
--- a/manual/libc-texinfo.sh
+++ b/manual/libc-texinfo.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
OUTDIR=$1
shift
diff --git a/manual/tsort.awk b/manual/tsort.awk
index 0260dccda6..82ac3decb7 100644
--- a/manual/tsort.awk
+++ b/manual/tsort.awk
@@ -1,4 +1,4 @@
-#! /usr/bin/awk -f
+#!/usr/bin/awk -f
# Generate topologically sorted list of manual chapters.
# Copyright (C) 1998-2016 Free Software Foundation, Inc.
# Written by Ulrich Drepper <drepper@cygnus.com>, 1998.
diff --git a/manual/xtract-typefun.awk b/manual/xtract-typefun.awk
index d39ceef188..57e567f9ba 100644
--- a/manual/xtract-typefun.awk
+++ b/manual/xtract-typefun.awk
@@ -1,4 +1,4 @@
-#! /usr/local/bin/gawk -f
+#!/usr/local/bin/gawk -f
BEGIN {
last_node="";
}
diff --git a/nptl/tst-cancel-wrappers.sh b/nptl/tst-cancel-wrappers.sh
index 4df9074a13..9098e3238f 100644
--- a/nptl/tst-cancel-wrappers.sh
+++ b/nptl/tst-cancel-wrappers.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test whether all cancelable functions are cancelable.
# Copyright (C) 2002-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/nptl/tst-tls6.sh b/nptl/tst-tls6.sh
index 85c9ce7b3c..f828008303 100755
--- a/nptl/tst-tls6.sh
+++ b/nptl/tst-tls6.sh
@@ -1,4 +1,4 @@
-#! /bin/bash
+#!/bin/bash
# A tls test.
# Copyright (C) 2003-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/posix/globtest.sh b/posix/globtest.sh
index a50a6b9a17..73fe11bd76 100755
--- a/posix/globtest.sh
+++ b/posix/globtest.sh
@@ -1,4 +1,4 @@
-#! /bin/bash
+#!/bin/bash
# Test for glob(3).
# Copyright (C) 1997-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/posix/tst-getconf.sh b/posix/tst-getconf.sh
index 3881a9c8af..95d11f59ec 100644
--- a/posix/tst-getconf.sh
+++ b/posix/tst-getconf.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test for getconf(1).
# Copyright (C) 2001-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/posix/wordexp-tst.sh b/posix/wordexp-tst.sh
index 8d68e0faae..c52825b470 100755
--- a/posix/wordexp-tst.sh
+++ b/posix/wordexp-tst.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test for wordexp(3).
# Copyright (C) 1998-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/scripts/check-c++-types.sh b/scripts/check-c++-types.sh
index 2016c162f5..489c4f066f 100755
--- a/scripts/check-c++-types.sh
+++ b/scripts/check-c++-types.sh
@@ -1,4 +1,4 @@
-#! /bin/bash
+#!/bin/bash
# Copyright (C) 2003-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/scripts/check-local-headers.sh b/scripts/check-local-headers.sh
index 3ca5935133..0670da16bc 100755
--- a/scripts/check-local-headers.sh
+++ b/scripts/check-local-headers.sh
@@ -1,4 +1,4 @@
-#! /bin/bash
+#!/bin/bash
# Copyright (C) 2005-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/scripts/config.guess b/scripts/config.guess
index dcd5149681..8b42ae7161 100755
--- a/scripts/config.guess
+++ b/scripts/config.guess
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Attempt to guess a canonical system name.
# Copyright 1992-2016 Free Software Foundation, Inc.
diff --git a/scripts/config.sub b/scripts/config.sub
index da6d1b6826..738ff5cbb8 100755
--- a/scripts/config.sub
+++ b/scripts/config.sub
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Configuration validation subroutine script.
# Copyright 1992-2016 Free Software Foundation, Inc.
diff --git a/scripts/cpp b/scripts/cpp
index 65f273ee48..cb24fe2bba 100755
--- a/scripts/cpp
+++ b/scripts/cpp
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# This script is used solely by rpcgen when run by sunrpc/Makefile,
# which passes CPP in the environment to tell us what to run.
diff --git a/scripts/cross-test-ssh.sh b/scripts/cross-test-ssh.sh
index cc1d1e9824..73c4e3ea0f 100755
--- a/scripts/cross-test-ssh.sh
+++ b/scripts/cross-test-ssh.sh
@@ -1,4 +1,4 @@
-#! /bin/bash
+#!/bin/bash
# Run a testcase on a remote system, via ssh.
# Copyright (C) 2012-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/scripts/documented.sh b/scripts/documented.sh
index a0399872b7..047a1d3493 100644
--- a/scripts/documented.sh
+++ b/scripts/documented.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
bindir=$1
VERSION=1.0
diff --git a/scripts/evaluate-test.sh b/scripts/evaluate-test.sh
index d5ba59dd3d..f2c85ed192 100755
--- a/scripts/evaluate-test.sh
+++ b/scripts/evaluate-test.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Output a test status line.
# Copyright (C) 2012-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/scripts/gen-libc-abis b/scripts/gen-libc-abis
index ce9ac5e20d..c5537645dc 100644
--- a/scripts/gen-libc-abis
+++ b/scripts/gen-libc-abis
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
triple="$1"
printf "#ifndef _LIBC_ABIS_H\n#define _LIBC_ABIS_H 1\n\n"
diff --git a/scripts/gen-sorted.awk b/scripts/gen-sorted.awk
index b36649758b..9669277b31 100755
--- a/scripts/gen-sorted.awk
+++ b/scripts/gen-sorted.awk
@@ -1,4 +1,4 @@
-#! /usr/bin/awk -f
+#!/usr/bin/awk -f
# Generate sorted list of directories. The sorting is stable but with
# dependencies between directories resolved by moving dependees in front.
# Copyright (C) 1998-2016 Free Software Foundation, Inc.
diff --git a/scripts/list-fixed-bugs.py b/scripts/list-fixed-bugs.py
index dad0fc353e..51f3c36e69 100755
--- a/scripts/list-fixed-bugs.py
+++ b/scripts/list-fixed-bugs.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python3
+#!/usr/bin/python3
# Copyright (C) 2015-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
#
diff --git a/scripts/merge-test-results.sh b/scripts/merge-test-results.sh
index 6287d10368..1175b20717 100755
--- a/scripts/merge-test-results.sh
+++ b/scripts/merge-test-results.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Merge test results of individual tests or subdirectories.
# Copyright (C) 2014-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/scripts/mkinstalldirs b/scripts/mkinstalldirs
index 55d537f872..a17570aca9 100755
--- a/scripts/mkinstalldirs
+++ b/scripts/mkinstalldirs
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# mkinstalldirs --- make directory hierarchy
scriptversion=2009-04-28.21; # UTC
diff --git a/scripts/rellns-sh b/scripts/rellns-sh
index e1566436bb..a57f601a90 100755
--- a/scripts/rellns-sh
+++ b/scripts/rellns-sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# rellns-sh - Simplified ln program to generate relative symbolic link.
# Copyright (C) 1996-2016 Free Software Foundation, Inc.
# Written by Ulrich Drepper <drepper@cygnus.com>, October 1996
diff --git a/scripts/test-installation.pl b/scripts/test-installation.pl
index fcbb7a94aa..5e84dd7184 100755
--- a/scripts/test-installation.pl
+++ b/scripts/test-installation.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/perl -w
+#!/usr/bin/perl -w
# Copyright (C) 1997-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1997.
diff --git a/scripts/update-copyrights b/scripts/update-copyrights
index 066c510224..588041ce86 100755
--- a/scripts/update-copyrights
+++ b/scripts/update-copyrights
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Update copyright year lists.
# Copyright (C) 2012-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/stdio-common/tst-printf.sh b/stdio-common/tst-printf.sh
index 6e8f8508db..5755a1bc0a 100644
--- a/stdio-common/tst-printf.sh
+++ b/stdio-common/tst-printf.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Testing of printf.
# Copyright (C) 2000-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/stdio-common/tst-unbputc.sh b/stdio-common/tst-unbputc.sh
index 1305ee2a8e..8156400730 100755
--- a/stdio-common/tst-unbputc.sh
+++ b/stdio-common/tst-unbputc.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Testing the stdio implementation
# Copyright (C) 2000-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/stdlib/tst-fmtmsg.sh b/stdlib/tst-fmtmsg.sh
index 884f1792fc..90654654a9 100755
--- a/stdlib/tst-fmtmsg.sh
+++ b/stdlib/tst-fmtmsg.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Test of fmtmsg function family.
# Copyright (C) 2000-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/stdlib/tst-setcontext3.sh b/stdlib/tst-setcontext3.sh
index e3c6b627f8..4b2adb5f23 100644
--- a/stdlib/tst-setcontext3.sh
+++ b/stdlib/tst-setcontext3.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Bug 18125: Test the exit functionality of setcontext().
# Copyright (C) 2015-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/sysdeps/i386/tst-ld-sse-use.sh b/sysdeps/i386/tst-ld-sse-use.sh
index 74846feb31..2863de6f8b 100755
--- a/sysdeps/i386/tst-ld-sse-use.sh
+++ b/sysdeps/i386/tst-ld-sse-use.sh
@@ -1,4 +1,4 @@
-#! /bin/bash
+#!/bin/bash
# Make sure no code in ld.so uses xmm/ymm/zmm registers on i386.
# Copyright (C) 2009-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
diff --git a/sysdeps/unix/make-syscalls.sh b/sysdeps/unix/make-syscalls.sh
index bbef3eb360..58d165e015 100644
--- a/sysdeps/unix/make-syscalls.sh
+++ b/sysdeps/unix/make-syscalls.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
# Usage: make-syscalls.sh ../sysdeps/unix/common
# Expects $sysdirs in environment.