diff --git a/catgets/test-gencat.sh b/catgets/test-gencat.sh
index a672f12..48b2120 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 3f4dc20..b832043 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 f6e76c6..849dfbc 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 cc0944a..fedcbc3 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 d6a1850..4b7b288 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 2b012c7..ab7ae57 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 a4ef821..3c788d2 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 54cdc8c..0e2a374 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 892f22e..309b628 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 a5488d3..aa97ee6 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 e7837bd..8dbf095 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 e86ac53..46567f2 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 e1dabae..bcd6d12 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 d1a21bc..94de6fd 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 c180726..2e7105a 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 3c83645..fe8bd28 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 6d79175..ae02455 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 fac7d88..f692b43 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 9d2d7f4..88bf50d 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 b1c5a3f..a29a0e8 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 8a440e8..db8435a 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 318bac9..5db163f 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 5f30e30..30d3f2f 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/gen-locale.sh b/localedata/gen-locale.sh
index ce1b9c8..d471086 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 42d9e7c..7b69272 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 d5439bf..eb7bdc8 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 c244c87..bec4322 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 c643763..835d7c0 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 fd1edf7..202936d 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 f1e68c2..77c2215 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 1d0d69a..45ffaba 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 be03ef6..ea8bb51 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 06fb5dc..cbcaea8 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 8867ed9..2eba000 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 1ef09fc..4d0a522 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 0260dcc..82ac3de 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 d39ceef..57e567f 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 4df9074..9098e32 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 85c9ce7..f828008 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 a50a6b9..73fe11b 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 3881a9c..95d11f5 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 8d68e0f..c52825b 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 2016c16..489c4f0 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 3ca5935..0670da1 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 dcd5149..8b42ae7 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 da6d1b6..738ff5c 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 65f273e..cb24fe2 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 cc1d1e9..73c4e3e 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 a039987..047a1d3 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 d5ba59d..f2c85ed 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 ce9ac5e..c553764 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 b366497..9669277 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 dad0fc3..51f3c36 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 6287d10..1175b20 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 55d537f..a17570a 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 e156643..a57f601 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 fcbb7a9..5e84dd7 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 066c510..588041c 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 6e8f850..5755a1b 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 1305ee2..8156400 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 884f179..9065465 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 e3c6b62..4b2adb5 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 74846fe..2863de6 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 bbef3eb3..58d165e 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.
