[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sed: -e expression #6, char 53: unknown option to `s'
From: |
Tim Ruehsen |
Subject: |
sed: -e expression #6, char 53: unknown option to `s' |
Date: |
Sat, 03 Feb 2018 19:25:00 +0100 |
Hi,
just trying to update gnulib code for libidn and run into the error in
the subject. It's the latest gnulib from master.
Maybe I miss something ? I am not too familiar with sed to see
something obvious.
The steps I took:
$ rm -rf gl gltests
$ ../gnulib/gnulib-tool --import --local-dir=gl/override --lib=libgnu
--source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=gltests --
aux-dir=build-aux --with-tests --avoid=fcntl-h-tests --avoid=stdlib-
tests --avoid=string-tests --avoid=sys_stat-tests --avoid=time-tests --
avoid=unistd-tests --avoid=update-copyright-tests --avoid=wchar-tests
--no-conditional-dependencies --libtool --macro-prefix=gl --no-vc-files
autobuild csharpcomp-script csharpexec-script error fdl-1.3 gendocs
getline getopt-gnu gnupload maintainer-makefile manywarnings
pmccabe2html progname update-copyright useless-if-before-free valgrind-
tests vc-list-files version-etc warnings
$ make
[errors]
When I cd into gltests/ and 'make -j1 V=1':
rm -f signal.h-t signal.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|GL|g' \
-e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''PRAGMA_COLUMNS''@||g' \
-e 's|@''NEXT_SIGNAL_H''@|<signal.h>|g' \
-e 's|@''GNULIB_PTHREAD_SIGMASK''@|(IN_LIBIDN_GNULIB_TESTS ||
IN_LIBIDN_GNULIB_TESTS)|g' \
-e 's|@''GNULIB_RAISE''@|(IN_LIBIDN_GNULIB_TESTS ||
IN_LIBIDN_GNULIB_TESTS)|g' \
-e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/0/g' \
-e 's/@''GNULIB_SIGPROCMASK''@/(IN_LIBIDN_GNULIB_TESTS ||
IN_LIBIDN_GNULIB_TESTS)/g' \
-e 's/@''GNULIB_SIGACTION''@/IN_LIBIDN_GNULIB_TESTS/g' \
-e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|1|g' \
-e 's|@''HAVE_PTHREAD_SIGMASK''@|1|g' \
-e 's|@''HAVE_RAISE''@|1|g' \
-e 's|@''HAVE_SIGSET_T''@|1|g' \
-e 's|@''HAVE_SIGINFO_T''@|1|g' \
-e 's|@''HAVE_SIGACTION''@|1|g' \
-e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|1|g' \
-e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|1|g' \
-e 's|@''HAVE_SIGHANDLER_T''@|1|g' \
-e 's|@''REPLACE_PTHREAD_SIGMASK''@|0|g' \
-e 's|@''REPLACE_RAISE''@|0|g' \
-e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \
-e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \
-e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \
< ./signal.in.h; \
} > signal.h-t && \
mv signal.h-t signal.h
sed: -e expression #6, char 53: unknown option to `s'
Makefile:4014: recipe for target 'signal.h' failed
make: *** [signal.h] Error 1
$ sed --version
sed (GNU sed) 4.4
Any help appreciated.
Regards, Tim
- sed: -e expression #6, char 53: unknown option to `s',
Tim Ruehsen <=