[hackers] [sbase] getconf.sh: Be more explicit we are using a heredoc here || FRIGN

From: <git_AT_suckless.org>
Date: Wed, 5 Oct 2016 18:50:36 +0200 (CEST)

commit fac091b7cc918f2a7c4c20038141efc2279f03c7
Author: FRIGN <dev_AT_frign.de>
AuthorDate: Tue Oct 4 01:20:52 2016 +0200
Commit: FRIGN <dev_AT_frign.de>
CommitDate: Wed Oct 5 18:48:10 2016 +0200

    getconf.sh: Be more explicit we are using a heredoc here

diff --git a/getconf.sh b/getconf.sh
index e826385..0df60f9 100755
--- a/getconf.sh
+++ b/getconf.sh
_AT_@ -6,7 +6,7 @@ ifdef() {
         echo '};'
 }
 
-cat <<! | ifdef confstr_l
+cat << EOF | ifdef confstr_l
 PATH _CS_PATH
 POSIX_V7_ILP32_OFF32_CFLAGS _CS_POSIX_V7_ILP32_OFF32_CFLAGS
 POSIX_V7_ILP32_OFF32_LDFLAGS _CS_POSIX_V7_ILP32_OFF32_LDFLAGS
_AT_@ -24,9 +24,9 @@ POSIX_V7_THREADS_CFLAGS _CS_POSIX_V7_THREADS_CFLAGS
 POSIX_V7_THREADS_LDFLAGS _CS_POSIX_V7_THREADS_LDFLAGS
 POSIX_V7_WIDTH_RESTRICTED_ENVS _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS
 V7_ENV _CS_V7_ENV
-!
+EOF
 
-cat <<! | ifdef limits_l
+cat << EOF | ifdef limits_l
 _POSIX_CLOCKRES_MIN _POSIX_CLOCKRES_MIN
 _POSIX_AIO_LISTIO_MAX _POSIX_AIO_LISTIO_MAX
 _POSIX_AIO_MAX _POSIX_AIO_MAX
_AT_@ -70,9 +70,9 @@ _POSIX2_COLL_WEIGHTS_MAX _POSIX2_COLL_WEIGHTS_MAX
 _POSIX2_EXPR_NEST_MAX _POSIX2_EXPR_NEST_MAX
 _POSIX2_LINE_MAX _POSIX2_LINE_MAX
 _POSIX2_RE_DUP_MAX _POSIX2_RE_DUP_MAX
-!
+EOF
 
-cat <<! | ifdef sysconf_l
+cat << EOF | ifdef sysconf_l
 AIO_LISTIO_MAX _SC_AIO_LISTIO_MAX
 AIO_MAX _SC_AIO_MAX
 AIO_PRIO_DELTA_MAX _SC_AIO_PRIO_DELTA_MAX
_AT_@ -191,9 +191,9 @@ _XOPEN_STREAMS _SC_XOPEN_STREAMS
 _XOPEN_UNIX _SC_XOPEN_UNIX
 _XOPEN_UUCP _SC_XOPEN_UUCP
 _XOPEN_VERSION _SC_XOPEN_VERSION
-!
+EOF
 
-cat <<! | ifdef pathconf_l
+cat << EOF | ifdef pathconf_l
 FILESIZEBITS _PC_FILESIZEBITS
 LINK_MAX _PC_LINK_MAX
 MAX_CANON _PC_MAX_CANON
_AT_@ -215,4 +215,4 @@ _POSIX_ASYNC_IO _PC_ASYNC_IO
 _POSIX_PRIO_IO _PC_PRIO_IO
 _POSIX_SYNC_IO _PC_SYNC_IO
 _POSIX_TIMESTAMP_RESOLUTION _PC_TIMESTAMP_RESOLUTION
-!
+EOF
Received on Wed Oct 05 2016 - 18:50:36 CEST

This archive was generated by hypermail 2.3.0 : Wed Oct 05 2016 - 19:00:29 CEST