Reorganized the directory structure
This commit is contained in:
		
							
								
								
									
										14
									
								
								regress/sed/Makefile.am
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								regress/sed/Makefile.am
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,14 @@ | ||||
| AUTOMAKE_OPTIONS = no-dependencies | ||||
|  | ||||
| noinst_SCRIPTS = regress.sh  | ||||
|  | ||||
| EXTRA_DIST = \ | ||||
| 	regress.out regress.out.xma \ | ||||
| 	s001.sed s001.dat \ | ||||
| 	s002.sed s002.dat \ | ||||
| 	s003.sed s003.dat \ | ||||
| 	s004.sed s004.dat \ | ||||
| 	s005.sed s005.dat \ | ||||
| 	s006.sed s006.dat \ | ||||
| 	s007.sed s007.dat \ | ||||
| 	s008.sed s006.dat  | ||||
							
								
								
									
										501
									
								
								regress/sed/Makefile.in
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										501
									
								
								regress/sed/Makefile.in
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,501 @@ | ||||
| # Makefile.in generated by automake 1.16.2 from Makefile.am. | ||||
| # @configure_input@ | ||||
|  | ||||
| # Copyright (C) 1994-2020 Free Software Foundation, Inc. | ||||
|  | ||||
| # This Makefile.in is free software; the Free Software Foundation | ||||
| # gives unlimited permission to copy and/or distribute it, | ||||
| # with or without modifications, as long as this notice is preserved. | ||||
|  | ||||
| # This program is distributed in the hope that it will be useful, | ||||
| # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||||
| # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||||
| # PARTICULAR PURPOSE. | ||||
|  | ||||
| @SET_MAKE@ | ||||
|  | ||||
| VPATH = @srcdir@ | ||||
| am__is_gnu_make = { \ | ||||
|   if test -z '$(MAKELEVEL)'; then \ | ||||
|     false; \ | ||||
|   elif test -n '$(MAKE_HOST)'; then \ | ||||
|     true; \ | ||||
|   elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ | ||||
|     true; \ | ||||
|   else \ | ||||
|     false; \ | ||||
|   fi; \ | ||||
| } | ||||
| am__make_running_with_option = \ | ||||
|   case $${target_option-} in \ | ||||
|       ?) ;; \ | ||||
|       *) echo "am__make_running_with_option: internal error: invalid" \ | ||||
|               "target option '$${target_option-}' specified" >&2; \ | ||||
|          exit 1;; \ | ||||
|   esac; \ | ||||
|   has_opt=no; \ | ||||
|   sane_makeflags=$$MAKEFLAGS; \ | ||||
|   if $(am__is_gnu_make); then \ | ||||
|     sane_makeflags=$$MFLAGS; \ | ||||
|   else \ | ||||
|     case $$MAKEFLAGS in \ | ||||
|       *\\[\ \	]*) \ | ||||
|         bs=\\; \ | ||||
|         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | ||||
|           | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \ | ||||
|     esac; \ | ||||
|   fi; \ | ||||
|   skip_next=no; \ | ||||
|   strip_trailopt () \ | ||||
|   { \ | ||||
|     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | ||||
|   }; \ | ||||
|   for flg in $$sane_makeflags; do \ | ||||
|     test $$skip_next = yes && { skip_next=no; continue; }; \ | ||||
|     case $$flg in \ | ||||
|       *=*|--*) continue;; \ | ||||
|         -*I) strip_trailopt 'I'; skip_next=yes;; \ | ||||
|       -*I?*) strip_trailopt 'I';; \ | ||||
|         -*O) strip_trailopt 'O'; skip_next=yes;; \ | ||||
|       -*O?*) strip_trailopt 'O';; \ | ||||
|         -*l) strip_trailopt 'l'; skip_next=yes;; \ | ||||
|       -*l?*) strip_trailopt 'l';; \ | ||||
|       -[dEDm]) skip_next=yes;; \ | ||||
|       -[JT]) skip_next=yes;; \ | ||||
|     esac; \ | ||||
|     case $$flg in \ | ||||
|       *$$target_option*) has_opt=yes; break;; \ | ||||
|     esac; \ | ||||
|   done; \ | ||||
|   test $$has_opt = yes | ||||
| am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | ||||
| am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | ||||
| pkgdatadir = $(datadir)/@PACKAGE@ | ||||
| pkgincludedir = $(includedir)/@PACKAGE@ | ||||
| pkglibdir = $(libdir)/@PACKAGE@ | ||||
| pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||||
| am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||||
| install_sh_DATA = $(install_sh) -c -m 644 | ||||
| install_sh_PROGRAM = $(install_sh) -c | ||||
| install_sh_SCRIPT = $(install_sh) -c | ||||
| INSTALL_HEADER = $(INSTALL_DATA) | ||||
| transform = $(program_transform_name) | ||||
| NORMAL_INSTALL = : | ||||
| PRE_INSTALL = : | ||||
| POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| build_triplet = @build@ | ||||
| host_triplet = @host@ | ||||
| subdir = regress/sed | ||||
| ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||||
| am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_sign.m4 \ | ||||
| 	$(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \ | ||||
| 	$(top_srcdir)/m4/ax_cxx_namespace.m4 \ | ||||
| 	$(top_srcdir)/m4/ax_lib_mysql.m4 $(top_srcdir)/m4/ax_numval.m4 \ | ||||
| 	$(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/libtool.m4 \ | ||||
| 	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||||
| 	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||||
| 	$(top_srcdir)/m4/lx_find_mpi.m4 \ | ||||
| 	$(top_srcdir)/m4/qse_try_cflags.m4 $(top_srcdir)/configure.ac | ||||
| am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||||
| 	$(ACLOCAL_M4) | ||||
| DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) | ||||
| mkinstalldirs = $(install_sh) -d | ||||
| CONFIG_HEADER = $(top_builddir)/include/qse/config.h | ||||
| CONFIG_CLEAN_FILES = regress.sh | ||||
| CONFIG_CLEAN_VPATH_FILES = | ||||
| SCRIPTS = $(noinst_SCRIPTS) | ||||
| AM_V_P = $(am__v_P_@AM_V@) | ||||
| am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | ||||
| am__v_P_0 = false | ||||
| am__v_P_1 = : | ||||
| AM_V_GEN = $(am__v_GEN_@AM_V@) | ||||
| am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | ||||
| am__v_GEN_0 = @echo "  GEN     " $@; | ||||
| am__v_GEN_1 =  | ||||
| AM_V_at = $(am__v_at_@AM_V@) | ||||
| am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | ||||
| am__v_at_0 = @ | ||||
| am__v_at_1 =  | ||||
| depcomp = | ||||
| am__maybe_remake_depfiles = | ||||
| SOURCES = | ||||
| DIST_SOURCES = | ||||
| am__can_run_installinfo = \ | ||||
|   case $$AM_UPDATE_INFO_DIR in \ | ||||
|     n|no|NO) false;; \ | ||||
|     *) (install-info --version) >/dev/null 2>&1;; \ | ||||
|   esac | ||||
| am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | ||||
| am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/regress.sh.in | ||||
| DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||||
| ACLOCAL = @ACLOCAL@ | ||||
| AMTAR = @AMTAR@ | ||||
| AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||||
| AR = @AR@ | ||||
| AUTOCONF = @AUTOCONF@ | ||||
| AUTOHEADER = @AUTOHEADER@ | ||||
| AUTOMAKE = @AUTOMAKE@ | ||||
| AWK = @AWK@ | ||||
| BUILD_MODE = @BUILD_MODE@ | ||||
| CC = @CC@ | ||||
| CCDEPMODE = @CCDEPMODE@ | ||||
| CFLAGS = @CFLAGS@ | ||||
| CPP = @CPP@ | ||||
| CPPFLAGS = @CPPFLAGS@ | ||||
| CXX = @CXX@ | ||||
| CXXCPP = @CXXCPP@ | ||||
| CXXDEPMODE = @CXXDEPMODE@ | ||||
| CXXFLAGS = @CXXFLAGS@ | ||||
| CYGPATH_W = @CYGPATH_W@ | ||||
| DEFS = @DEFS@ | ||||
| DEPDIR = @DEPDIR@ | ||||
| DLLTOOL = @DLLTOOL@ | ||||
| DL_LIBS = @DL_LIBS@ | ||||
| DSYMUTIL = @DSYMUTIL@ | ||||
| DUMPBIN = @DUMPBIN@ | ||||
| ECHO = @ECHO@ | ||||
| ECHO_C = @ECHO_C@ | ||||
| ECHO_N = @ECHO_N@ | ||||
| ECHO_T = @ECHO_T@ | ||||
| EGREP = @EGREP@ | ||||
| EXEEXT = @EXEEXT@ | ||||
| FGREP = @FGREP@ | ||||
| GREP = @GREP@ | ||||
| HAVE_CXX = @HAVE_CXX@ | ||||
| HAVE_CXX11 = @HAVE_CXX11@ | ||||
| INSTALL = @INSTALL@ | ||||
| INSTALL_DATA = @INSTALL_DATA@ | ||||
| INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||||
| INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||||
| INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||||
| LD = @LD@ | ||||
| LDFLAGS = @LDFLAGS@ | ||||
| LIBM = @LIBM@ | ||||
| LIBOBJS = @LIBOBJS@ | ||||
| LIBS = @LIBS@ | ||||
| LIBTOOL = @LIBTOOL@ | ||||
| LIBTOOL_DEPS = @LIBTOOL_DEPS@ | ||||
| LIPO = @LIPO@ | ||||
| LN_S = @LN_S@ | ||||
| LTDL_LIBS = @LTDL_LIBS@ | ||||
| LTLIBOBJS = @LTLIBOBJS@ | ||||
| LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ | ||||
| MAKEINFO = @MAKEINFO@ | ||||
| MANIFEST_TOOL = @MANIFEST_TOOL@ | ||||
| MKDIR_P = @MKDIR_P@ | ||||
| MPICC = @MPICC@ | ||||
| MPI_CFLAGS = @MPI_CFLAGS@ | ||||
| MPI_CLDFLAGS = @MPI_CLDFLAGS@ | ||||
| MYSQL_CFLAGS = @MYSQL_CFLAGS@ | ||||
| MYSQL_CONFIG = @MYSQL_CONFIG@ | ||||
| MYSQL_LDFLAGS = @MYSQL_LDFLAGS@ | ||||
| MYSQL_LIBS = @MYSQL_LIBS@ | ||||
| MYSQL_VERSION = @MYSQL_VERSION@ | ||||
| NM = @NM@ | ||||
| NMEDIT = @NMEDIT@ | ||||
| OBJDUMP = @OBJDUMP@ | ||||
| OBJEXT = @OBJEXT@ | ||||
| OTOOL = @OTOOL@ | ||||
| OTOOL64 = @OTOOL64@ | ||||
| PACKAGE = @PACKAGE@ | ||||
| PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||||
| PACKAGE_NAME = @PACKAGE_NAME@ | ||||
| PACKAGE_STRING = @PACKAGE_STRING@ | ||||
| PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||||
| PACKAGE_URL = @PACKAGE_URL@ | ||||
| PACKAGE_VERSION = @PACKAGE_VERSION@ | ||||
| PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@ | ||||
| PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@ | ||||
| PACKAGE_VERSION_PATCH = @PACKAGE_VERSION_PATCH@ | ||||
| PATH_SEPARATOR = @PATH_SEPARATOR@ | ||||
| PTHREAD_CC = @PTHREAD_CC@ | ||||
| PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ | ||||
| PTHREAD_LIBS = @PTHREAD_LIBS@ | ||||
| QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ | ||||
| QSE_PROJECT_URL = @QSE_PROJECT_URL@ | ||||
| QUADMATH_LIBS = @QUADMATH_LIBS@ | ||||
| RANLIB = @RANLIB@ | ||||
| RM = @RM@ | ||||
| RMDIR = @RMDIR@ | ||||
| SED = @SED@ | ||||
| SENDFILE_LIBS = @SENDFILE_LIBS@ | ||||
| SET_MAKE = @SET_MAKE@ | ||||
| SHELL = @SHELL@ | ||||
| SOCKET_LIBS = @SOCKET_LIBS@ | ||||
| SSL_LIBS = @SSL_LIBS@ | ||||
| STRIP = @STRIP@ | ||||
| TRUE = @TRUE@ | ||||
| UCI_LIBS = @UCI_LIBS@ | ||||
| UNICOWS_LIBS = @UNICOWS_LIBS@ | ||||
| VERSION = @VERSION@ | ||||
| abs_builddir = @abs_builddir@ | ||||
| abs_srcdir = @abs_srcdir@ | ||||
| abs_top_builddir = @abs_top_builddir@ | ||||
| abs_top_srcdir = @abs_top_srcdir@ | ||||
| ac_ct_AR = @ac_ct_AR@ | ||||
| ac_ct_CC = @ac_ct_CC@ | ||||
| ac_ct_CXX = @ac_ct_CXX@ | ||||
| ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||||
| am__include = @am__include@ | ||||
| am__leading_dot = @am__leading_dot@ | ||||
| am__quote = @am__quote@ | ||||
| am__tar = @am__tar@ | ||||
| am__untar = @am__untar@ | ||||
| ax_pthread_config = @ax_pthread_config@ | ||||
| bindir = @bindir@ | ||||
| build = @build@ | ||||
| build_alias = @build_alias@ | ||||
| build_cpu = @build_cpu@ | ||||
| build_os = @build_os@ | ||||
| build_vendor = @build_vendor@ | ||||
| builddir = @builddir@ | ||||
| datadir = @datadir@ | ||||
| datarootdir = @datarootdir@ | ||||
| docdir = @docdir@ | ||||
| dvidir = @dvidir@ | ||||
| exec_prefix = @exec_prefix@ | ||||
| host = @host@ | ||||
| host_alias = @host_alias@ | ||||
| host_cpu = @host_cpu@ | ||||
| host_os = @host_os@ | ||||
| host_vendor = @host_vendor@ | ||||
| htmldir = @htmldir@ | ||||
| includedir = @includedir@ | ||||
| infodir = @infodir@ | ||||
| install_sh = @install_sh@ | ||||
| libdir = @libdir@ | ||||
| libexecdir = @libexecdir@ | ||||
| localedir = @localedir@ | ||||
| localstatedir = @localstatedir@ | ||||
| mandir = @mandir@ | ||||
| mkdir_p = @mkdir_p@ | ||||
| oldincludedir = @oldincludedir@ | ||||
| pdfdir = @pdfdir@ | ||||
| prefix = @prefix@ | ||||
| program_transform_name = @program_transform_name@ | ||||
| psdir = @psdir@ | ||||
| runstatedir = @runstatedir@ | ||||
| sbindir = @sbindir@ | ||||
| sharedstatedir = @sharedstatedir@ | ||||
| srcdir = @srcdir@ | ||||
| sysconfdir = @sysconfdir@ | ||||
| target_alias = @target_alias@ | ||||
| top_build_prefix = @top_build_prefix@ | ||||
| top_builddir = @top_builddir@ | ||||
| top_srcdir = @top_srcdir@ | ||||
| AUTOMAKE_OPTIONS = no-dependencies | ||||
| noinst_SCRIPTS = regress.sh  | ||||
| EXTRA_DIST = \ | ||||
| 	regress.out regress.out.xma \ | ||||
| 	s001.sed s001.dat \ | ||||
| 	s002.sed s002.dat \ | ||||
| 	s003.sed s003.dat \ | ||||
| 	s004.sed s004.dat \ | ||||
| 	s005.sed s005.dat \ | ||||
| 	s006.sed s006.dat \ | ||||
| 	s007.sed s007.dat \ | ||||
| 	s008.sed s006.dat  | ||||
|  | ||||
| all: all-am | ||||
|  | ||||
| .SUFFIXES: | ||||
| $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps) | ||||
| 	@for dep in $?; do \ | ||||
| 	  case '$(am__configure_deps)' in \ | ||||
| 	    *$$dep*) \ | ||||
| 	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||||
| 	        && { if test -f $@; then exit 0; else break; fi; }; \ | ||||
| 	      exit 1;; \ | ||||
| 	  esac; \ | ||||
| 	done; \ | ||||
| 	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign regress/sed/Makefile'; \ | ||||
| 	$(am__cd) $(top_srcdir) && \ | ||||
| 	  $(AUTOMAKE) --foreign regress/sed/Makefile | ||||
| Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||||
| 	@case '$?' in \ | ||||
| 	  *config.status*) \ | ||||
| 	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||||
| 	  *) \ | ||||
| 	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ | ||||
| 	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ | ||||
| 	esac; | ||||
|  | ||||
| $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||||
| 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||||
|  | ||||
| $(top_srcdir)/configure:  $(am__configure_deps) | ||||
| 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||||
| $(ACLOCAL_M4):  $(am__aclocal_m4_deps) | ||||
| 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||||
| $(am__aclocal_m4_deps): | ||||
| regress.sh: $(top_builddir)/config.status $(srcdir)/regress.sh.in | ||||
| 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ | ||||
|  | ||||
| mostlyclean-libtool: | ||||
| 	-rm -f *.lo | ||||
|  | ||||
| clean-libtool: | ||||
| 	-rm -rf .libs _libs | ||||
| tags TAGS: | ||||
|  | ||||
| ctags CTAGS: | ||||
|  | ||||
| cscope cscopelist: | ||||
|  | ||||
|  | ||||
| distdir: $(BUILT_SOURCES) | ||||
| 	$(MAKE) $(AM_MAKEFLAGS) distdir-am | ||||
|  | ||||
| distdir-am: $(DISTFILES) | ||||
| 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||||
| 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||||
| 	list='$(DISTFILES)'; \ | ||||
| 	  dist_files=`for file in $$list; do echo $$file; done | \ | ||||
| 	  sed -e "s|^$$srcdirstrip/||;t" \ | ||||
| 	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||||
| 	case $$dist_files in \ | ||||
| 	  */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||||
| 			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||||
| 			   sort -u` ;; \ | ||||
| 	esac; \ | ||||
| 	for file in $$dist_files; do \ | ||||
| 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||||
| 	  if test -d $$d/$$file; then \ | ||||
| 	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||||
| 	    if test -d "$(distdir)/$$file"; then \ | ||||
| 	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||||
| 	    fi; \ | ||||
| 	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||||
| 	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||||
| 	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||||
| 	    fi; \ | ||||
| 	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||||
| 	  else \ | ||||
| 	    test -f "$(distdir)/$$file" \ | ||||
| 	    || cp -p $$d/$$file "$(distdir)/$$file" \ | ||||
| 	    || exit 1; \ | ||||
| 	  fi; \ | ||||
| 	done | ||||
| check-am: all-am | ||||
| check: check-am | ||||
| all-am: Makefile $(SCRIPTS) | ||||
| installdirs: | ||||
| install: install-am | ||||
| install-exec: install-exec-am | ||||
| install-data: install-data-am | ||||
| uninstall: uninstall-am | ||||
|  | ||||
| install-am: all-am | ||||
| 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||||
|  | ||||
| installcheck: installcheck-am | ||||
| install-strip: | ||||
| 	if test -z '$(STRIP)'; then \ | ||||
| 	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||||
| 	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||||
| 	      install; \ | ||||
| 	else \ | ||||
| 	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||||
| 	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||||
| 	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | ||||
| 	fi | ||||
| mostlyclean-generic: | ||||
|  | ||||
| clean-generic: | ||||
|  | ||||
| distclean-generic: | ||||
| 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||||
| 	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||||
|  | ||||
| maintainer-clean-generic: | ||||
| 	@echo "This command is intended for maintainers to use" | ||||
| 	@echo "it deletes files that may require special tools to rebuild." | ||||
| clean: clean-am | ||||
|  | ||||
| clean-am: clean-generic clean-libtool mostlyclean-am | ||||
|  | ||||
| distclean: distclean-am | ||||
| 	-rm -f Makefile | ||||
| distclean-am: clean-am distclean-generic | ||||
|  | ||||
| dvi: dvi-am | ||||
|  | ||||
| dvi-am: | ||||
|  | ||||
| html: html-am | ||||
|  | ||||
| html-am: | ||||
|  | ||||
| info: info-am | ||||
|  | ||||
| info-am: | ||||
|  | ||||
| install-data-am: | ||||
|  | ||||
| install-dvi: install-dvi-am | ||||
|  | ||||
| install-dvi-am: | ||||
|  | ||||
| install-exec-am: | ||||
|  | ||||
| install-html: install-html-am | ||||
|  | ||||
| install-html-am: | ||||
|  | ||||
| install-info: install-info-am | ||||
|  | ||||
| install-info-am: | ||||
|  | ||||
| install-man: | ||||
|  | ||||
| install-pdf: install-pdf-am | ||||
|  | ||||
| install-pdf-am: | ||||
|  | ||||
| install-ps: install-ps-am | ||||
|  | ||||
| install-ps-am: | ||||
|  | ||||
| installcheck-am: | ||||
|  | ||||
| maintainer-clean: maintainer-clean-am | ||||
| 	-rm -f Makefile | ||||
| maintainer-clean-am: distclean-am maintainer-clean-generic | ||||
|  | ||||
| mostlyclean: mostlyclean-am | ||||
|  | ||||
| mostlyclean-am: mostlyclean-generic mostlyclean-libtool | ||||
|  | ||||
| pdf: pdf-am | ||||
|  | ||||
| pdf-am: | ||||
|  | ||||
| ps: ps-am | ||||
|  | ||||
| ps-am: | ||||
|  | ||||
| uninstall-am: | ||||
|  | ||||
| .MAKE: install-am install-strip | ||||
|  | ||||
| .PHONY: all all-am check check-am clean clean-generic clean-libtool \ | ||||
| 	cscopelist-am ctags-am distclean distclean-generic \ | ||||
| 	distclean-libtool distdir dvi dvi-am html html-am info info-am \ | ||||
| 	install install-am install-data install-data-am install-dvi \ | ||||
| 	install-dvi-am install-exec install-exec-am install-html \ | ||||
| 	install-html-am install-info install-info-am install-man \ | ||||
| 	install-pdf install-pdf-am install-ps install-ps-am \ | ||||
| 	install-strip installcheck installcheck-am installdirs \ | ||||
| 	maintainer-clean maintainer-clean-generic mostlyclean \ | ||||
| 	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||||
| 	tags-am uninstall uninstall-am | ||||
|  | ||||
| .PRECIOUS: Makefile | ||||
|  | ||||
|  | ||||
| # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||||
| # Otherwise a system limit (for SysV at least) may be exceeded. | ||||
| .NOEXPORT: | ||||
							
								
								
									
										130
									
								
								regress/sed/regress.out
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										130
									
								
								regress/sed/regress.out
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,130 @@ | ||||
| -------------------------------------------------------------------------------- | ||||
| [CMD]  qsesed  -n -r -f s001.sed s001.dat </dev/stdin 2>&1  | ||||
| -------------------------------------------------------------------------------- | ||||
| ab...c AAA | ||||
|  | ||||
| de...f | ||||
| gh...i AAA1 | ||||
|  | ||||
| jk...l | ||||
| mn...o | ||||
| pq...r AAA2 | ||||
|  | ||||
|  | ||||
|  | ||||
| kbs ddd | ||||
| dif cccc | ||||
| -------------------------------------------------------------------------------- | ||||
| [CMD]  qsesed   -f s002.sed s002.dat </dev/stdin 2>&1  | ||||
| -------------------------------------------------------------------------------- | ||||
| ab...c AAA | ||||
|  | ||||
| de...f | ||||
| gh...i AAA1 | ||||
|  | ||||
| jk...l | ||||
| mn...o | ||||
| pq...r AAA2 | ||||
|  | ||||
|  | ||||
|  | ||||
| kbs ddd | ||||
| dif cccc | ||||
| -------------------------------------------------------------------------------- | ||||
| [CMD]  qsesed   -f s003.sed s003.dat </dev/stdin 2>&1  | ||||
| -------------------------------------------------------------------------------- | ||||
| ab...c AAA | ||||
|  | ||||
| de...f | ||||
| gh...i AAA1 | ||||
|  | ||||
| jk...l | ||||
| mn...o | ||||
| pq...r AAA2 | ||||
|  | ||||
|  | ||||
|  | ||||
| kbs ddd | ||||
| dif cccc | ||||
| -------------------------------------------------------------------------------- | ||||
| [CMD]  qsesed   -f s004.sed s004.dat </dev/stdin 2>&1  | ||||
| -------------------------------------------------------------------------------- | ||||
| linux { | ||||
| HOST: com.com | ||||
| ADDRESS: 45.34.34.33 | ||||
| } | ||||
|  | ||||
|  | ||||
| linux { | ||||
| HOST: com.com | ||||
| ADDRESS: 45.34.34.33 | ||||
| } | ||||
| -------------------------------------------------------------------------------- | ||||
| [CMD]  qsesed   -f s005.sed s005.dat </dev/stdin 2>&1  | ||||
| -------------------------------------------------------------------------------- | ||||
| 1 | ||||
| ------------------- | ||||
| 2 | ||||
| 3 | ||||
| ------------------- | ||||
| 4 | ||||
| 5 | ||||
| ------------------- | ||||
| -------------------------------------------------------------------------------- | ||||
| [CMD]  qsesed   -f s006.sed s006.dat </dev/stdin 2>&1  | ||||
| -------------------------------------------------------------------------------- | ||||
| ------------------- | ||||
| 1 | ||||
| 2 | ||||
| ------------------- | ||||
| 3 | ||||
| 4 | ||||
| ------------------- | ||||
| 5 | ||||
| -------------------------------------------------------------------------------- | ||||
| [CMD]  qsesed   -f s007.sed s007.dat </dev/stdin 2>&1  | ||||
| -------------------------------------------------------------------------------- | ||||
|  | ||||
| # copy binaries to ramdisk | ||||
| cp -a /bin/* /ramdisk/busybin/ | ||||
| echo -n "done${CRE}" | ||||
| #COPY DISK TO /ramdisk/cdrom | ||||
| if [ -n "$FROMINIT" ];then | ||||
| 	cp -af /image/* /ramdisk/cdrom/ | ||||
| fi | ||||
|  | ||||
|  | ||||
| # copy binaries again to ramdisk | ||||
| cp -a /bin/* /ramdisk/busybin/ | ||||
| echo -n "done${CRE}" | ||||
| #COPY DISK TO /ramdisk/cdrom | ||||
| if [ -n "$FROMINIT" ];then | ||||
| 	cp -af /image/* /ramdisk/cdrom/ | ||||
| fi | ||||
| -------------------------------------------------------------------------------- | ||||
| [CMD]  qsesed  -b -f s008.sed s008.dat </dev/stdin 2>&1  | ||||
| -------------------------------------------------------------------------------- | ||||
|  | ||||
| # copy binaries to ramdisk | ||||
| cp -a /bin/* /ramdisk/busybin/ | ||||
| echo -n "done${CRE}" | ||||
| #COPY DISK TO /ramdisk/cdrom | ||||
| if [ -n "$FROMINIT" ];then | ||||
| 	cp -af /image/* /ramdisk/cdrom/ | ||||
| fi | ||||
|  | ||||
|  | ||||
| # copy binaries again to ramdisk | ||||
| cp -a /bin/* /ramdisk/busybin/ | ||||
| echo -n "done${CRE}" | ||||
| #COPY DISK TO /ramdisk/cdrom | ||||
| if [ -n "$FROMINIT" ];then | ||||
| 	cp -af /image/* /ramdisk/cdrom/ | ||||
| fi | ||||
| -------------------------------------------------------------------------------- | ||||
| [CMD]  qsesed   -f s009.sed s009.dat </dev/stdin 2>&1  | ||||
| -------------------------------------------------------------------------------- | ||||
| 0;root;/root;/bin/bash | ||||
| 1;daemon;/usr/sbin;/bin/sh | ||||
| 2;bin;/bin;/bin/sh | ||||
| 3;sys;/dev;/bin/sh | ||||
							
								
								
									
										130
									
								
								regress/sed/regress.out.xma
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										130
									
								
								regress/sed/regress.out.xma
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,130 @@ | ||||
| -------------------------------------------------------------------------------- | ||||
| [CMD]  qsesed -m 500000 -n -r -f s001.sed s001.dat </dev/stdin 2>&1  | ||||
| -------------------------------------------------------------------------------- | ||||
| ab...c AAA | ||||
|  | ||||
| de...f | ||||
| gh...i AAA1 | ||||
|  | ||||
| jk...l | ||||
| mn...o | ||||
| pq...r AAA2 | ||||
|  | ||||
|  | ||||
|  | ||||
| kbs ddd | ||||
| dif cccc | ||||
| -------------------------------------------------------------------------------- | ||||
| [CMD]  qsesed -m 500000  -f s002.sed s002.dat </dev/stdin 2>&1  | ||||
| -------------------------------------------------------------------------------- | ||||
| ab...c AAA | ||||
|  | ||||
| de...f | ||||
| gh...i AAA1 | ||||
|  | ||||
| jk...l | ||||
| mn...o | ||||
| pq...r AAA2 | ||||
|  | ||||
|  | ||||
|  | ||||
| kbs ddd | ||||
| dif cccc | ||||
| -------------------------------------------------------------------------------- | ||||
| [CMD]  qsesed -m 500000  -f s003.sed s003.dat </dev/stdin 2>&1  | ||||
| -------------------------------------------------------------------------------- | ||||
| ab...c AAA | ||||
|  | ||||
| de...f | ||||
| gh...i AAA1 | ||||
|  | ||||
| jk...l | ||||
| mn...o | ||||
| pq...r AAA2 | ||||
|  | ||||
|  | ||||
|  | ||||
| kbs ddd | ||||
| dif cccc | ||||
| -------------------------------------------------------------------------------- | ||||
| [CMD]  qsesed -m 500000  -f s004.sed s004.dat </dev/stdin 2>&1  | ||||
| -------------------------------------------------------------------------------- | ||||
| linux { | ||||
| HOST: com.com | ||||
| ADDRESS: 45.34.34.33 | ||||
| } | ||||
|  | ||||
|  | ||||
| linux { | ||||
| HOST: com.com | ||||
| ADDRESS: 45.34.34.33 | ||||
| } | ||||
| -------------------------------------------------------------------------------- | ||||
| [CMD]  qsesed -m 500000  -f s005.sed s005.dat </dev/stdin 2>&1  | ||||
| -------------------------------------------------------------------------------- | ||||
| 1 | ||||
| ------------------- | ||||
| 2 | ||||
| 3 | ||||
| ------------------- | ||||
| 4 | ||||
| 5 | ||||
| ------------------- | ||||
| -------------------------------------------------------------------------------- | ||||
| [CMD]  qsesed -m 500000  -f s006.sed s006.dat </dev/stdin 2>&1  | ||||
| -------------------------------------------------------------------------------- | ||||
| ------------------- | ||||
| 1 | ||||
| 2 | ||||
| ------------------- | ||||
| 3 | ||||
| 4 | ||||
| ------------------- | ||||
| 5 | ||||
| -------------------------------------------------------------------------------- | ||||
| [CMD]  qsesed -m 500000  -f s007.sed s007.dat </dev/stdin 2>&1  | ||||
| -------------------------------------------------------------------------------- | ||||
|  | ||||
| # copy binaries to ramdisk | ||||
| cp -a /bin/* /ramdisk/busybin/ | ||||
| echo -n "done${CRE}" | ||||
| #COPY DISK TO /ramdisk/cdrom | ||||
| if [ -n "$FROMINIT" ];then | ||||
| 	cp -af /image/* /ramdisk/cdrom/ | ||||
| fi | ||||
|  | ||||
|  | ||||
| # copy binaries again to ramdisk | ||||
| cp -a /bin/* /ramdisk/busybin/ | ||||
| echo -n "done${CRE}" | ||||
| #COPY DISK TO /ramdisk/cdrom | ||||
| if [ -n "$FROMINIT" ];then | ||||
| 	cp -af /image/* /ramdisk/cdrom/ | ||||
| fi | ||||
| -------------------------------------------------------------------------------- | ||||
| [CMD]  qsesed -m 500000 -b -f s008.sed s008.dat </dev/stdin 2>&1  | ||||
| -------------------------------------------------------------------------------- | ||||
|  | ||||
| # copy binaries to ramdisk | ||||
| cp -a /bin/* /ramdisk/busybin/ | ||||
| echo -n "done${CRE}" | ||||
| #COPY DISK TO /ramdisk/cdrom | ||||
| if [ -n "$FROMINIT" ];then | ||||
| 	cp -af /image/* /ramdisk/cdrom/ | ||||
| fi | ||||
|  | ||||
|  | ||||
| # copy binaries again to ramdisk | ||||
| cp -a /bin/* /ramdisk/busybin/ | ||||
| echo -n "done${CRE}" | ||||
| #COPY DISK TO /ramdisk/cdrom | ||||
| if [ -n "$FROMINIT" ];then | ||||
| 	cp -af /image/* /ramdisk/cdrom/ | ||||
| fi | ||||
| -------------------------------------------------------------------------------- | ||||
| [CMD]  qsesed -m 500000  -f s009.sed s009.dat </dev/stdin 2>&1  | ||||
| -------------------------------------------------------------------------------- | ||||
| 0;root;/root;/bin/bash | ||||
| 1;daemon;/usr/sbin;/bin/sh | ||||
| 2;bin;/bin;/bin/sh | ||||
| 3;sys;/dev;/bin/sh | ||||
							
								
								
									
										192
									
								
								regress/sed/regress.sh.in
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										192
									
								
								regress/sed/regress.sh.in
									
									
									
									
									
										Executable file
									
								
							| @ -0,0 +1,192 @@ | ||||
| #!/bin/sh | ||||
|  | ||||
| echo_so() | ||||
| { | ||||
| 	tput smso | ||||
| 	while [ $# -gt 0 ] | ||||
| 	do | ||||
| 		echo -n "$1 " | ||||
| 		shift | ||||
| 	done		 | ||||
| 	echo | ||||
| 	tput rmso | ||||
| } | ||||
|  | ||||
| echo_title() | ||||
| { | ||||
| 	echo "--------------------------------------------------------------------------------" | ||||
| 	while [ $# -gt 0 ] | ||||
| 	do | ||||
| 		echo -n "[CMD] $1 " | ||||
| 		echo -n "[CMD] $1 " >/dev/stderr | ||||
| 		shift | ||||
| 	done		 | ||||
| 	echo | ||||
| 	echo > /dev/stderr | ||||
| 	echo "--------------------------------------------------------------------------------" | ||||
| } | ||||
|  | ||||
| print_usage() | ||||
| { | ||||
| 	echo_so "Usage: $0 init" | ||||
| 	echo_so "       $0 test" | ||||
| } | ||||
|  | ||||
| ################### | ||||
| # MAIN            # | ||||
| ################### | ||||
|  | ||||
| [ -z "${QSESED}" ] && { | ||||
| 	QSESED="@abs_top_builddir@/cmd/sed/.libs/qsesed" | ||||
| 	[ -f "${QSESED}" ] || QSESED="@abs_top_builddir@/cmd/sed/qsesed" | ||||
| } | ||||
| [ -f "${QSESED}" -a -x "${QSESED}" ] || { | ||||
| 	echo_so "the executable '${QSESED}' is not found or not executable" | ||||
| 	exit 1 | ||||
| } | ||||
|  | ||||
| QSESED_BASENAME="`basename "${QSESED}"`" | ||||
|  | ||||
| BASE_OUTFILE="@abs_top_srcdir@/regress/sed/regress.out" | ||||
| BASE_OUTFILE_XMA="@abs_top_srcdir@/regress/sed/regress.out.xma" | ||||
|  | ||||
| TMPFILE="${TMPFILE:=./regress.temp}" | ||||
| OUTFILE="${OUTFILE:=./regress.out}" | ||||
| OUTFILE_XMA="${OUTFILE}.xma" | ||||
| XMAOPTS="-m 500000" | ||||
|  | ||||
| PROGS=" | ||||
| 	s001.sed/s001.dat//-n -r | ||||
| 	s002.sed/s002.dat// | ||||
| 	s003.sed/s003.dat// | ||||
| 	s004.sed/s004.dat// | ||||
| 	s005.sed/s005.dat// | ||||
| 	s006.sed/s006.dat// | ||||
| 	s007.sed/s007.dat// | ||||
| 	s008.sed/s008.dat//-b | ||||
| 	s009.sed/s009.dat// | ||||
| " | ||||
|  | ||||
| [ -x "${QSESED}" ] ||  | ||||
| { | ||||
| 	echo "ERROR: ${QSESED} not found" | ||||
| 	exit 1; | ||||
| } | ||||
|  | ||||
| run_scripts()  | ||||
| { | ||||
| 	valgrind="$1" | ||||
| 	extraopts="$2" | ||||
| 	echo "${PROGS}" > "${TMPFILE}" | ||||
| 	 | ||||
| 	while read prog | ||||
| 	do | ||||
| 		[ -z "${prog}" ] && continue | ||||
| 	 | ||||
| 		script="`echo ${prog} | cut -d/ -f1`" | ||||
| 		datafile="`echo ${prog} | cut -d/ -f2`" | ||||
| 		readinfile="`echo ${prog} | cut -d/ -f3`" | ||||
| 		options="`echo ${prog} | cut -d/ -f4`" | ||||
| 	 | ||||
| 		[ -z "${script}" ] && continue | ||||
|  | ||||
| 		script_path="@abs_srcdir@/${script}" | ||||
| 		datafile_path="@abs_srcdir@/${datafile}" | ||||
| 		readinfile_path="@abs_srcdir@/${readinfile}" | ||||
|  | ||||
| 		[ -f "${script_path}" ] ||  | ||||
| 		{ | ||||
| 			echo_so "${script_path} not found" | ||||
| 			continue | ||||
| 		} | ||||
| 	 | ||||
| 		[ -z "${readinfile}" ] &&  | ||||
| 		{ | ||||
| 			readinfile="/dev/stdin" | ||||
| 			readinfile_path="/dev/stdin" | ||||
| 		} | ||||
|  | ||||
| 		# if the datafile does not exist, let's not use the original name | ||||
| 		#[ -f "${datafile_path}" ] || datafile_path="$datafile" | ||||
|  | ||||
| 		echo_title "${valgrind} ${QSESED_BASENAME} ${extraopts} ${options} -f ${script} ${datafile} <${readinfile} 2>&1" | ||||
| 		${valgrind} ${QSESED} ${extraopts} ${options} -f ${script_path} ${datafile_path} <${readinfile_path} 2>&1 | ||||
| 	 | ||||
| 	done < "${TMPFILE}"  | ||||
| 	 | ||||
| 	rm -f "${TMPFILE}" | ||||
| } | ||||
|  | ||||
| run_test() | ||||
| { | ||||
| 	base_outfile="${1}" | ||||
| 	outfile="${2}" | ||||
| 	extraopts="${3}" | ||||
|  | ||||
| 	run_scripts "" "${extraopts}"> "${outfile}.test" | ||||
|  | ||||
| 	# diff -q is not supported on old platforms. | ||||
| 	# redirect output to /dev/null instead. | ||||
| 	diff "${base_outfile}" "${outfile}.test" > /dev/null || { | ||||
| 		echo_so "ERROR: Difference is found between expected output and actual output." | ||||
| 		echo_so "       The expected output is stored in '${base_outfile}'." | ||||
| 		echo_so "       The actual output is stored in '${outfile}.test'." | ||||
| 		echo_so "       You may execute 'diff ${base_outfile} ${outfile}.test' for more info." | ||||
| 		return 1 | ||||
| 	} | ||||
| #	rm -f "${outfile}.test" | ||||
| 	return 0 | ||||
| } | ||||
|  | ||||
| case $1 in | ||||
| init) | ||||
| 	run_scripts "" "" > "${BASE_OUTFILE}" | ||||
| 	run_scripts "" "${XMAOPTS}" > "${BASE_OUTFILE_XMA}" | ||||
| 	echo_so "INIT OK" | ||||
| 	;; | ||||
| test) | ||||
| 	run_test "${BASE_OUTFILE}" "${OUTFILE}" "" &&  | ||||
| 	{ | ||||
| 		run_test "${BASE_OUTFILE_XMA}" "${OUTFILE_XMA}" "${XMAOPTS}" &&  | ||||
| 		{ | ||||
| 			${QSESED} "s|${QSESED_BASENAME} ${XMAOPTS}|${QSESED_BASENAME} |" "${OUTFILE_XMA}.test" > "${OUTFILE_XMA}.$$" | ||||
| 			diff "${OUTFILE}.test" "${OUTFILE_XMA}.$$" ||  | ||||
| 			{ | ||||
| 				rm -f "${OUTFILE_XMA}.$$" | ||||
| 				echo_so "ERROR: Difference is found between normal output and xma output." | ||||
| 				echo_so "       The normal output is stored in '${OUTFILE}.test'." | ||||
| 				echo_so "       The xma output is stored in '${OUTFILE_XMA}.test'." | ||||
| 				echo_so "       Ignore lines staring with [CMD] in the difference." | ||||
| 				exit 1; | ||||
| 			} | ||||
| 			rm -f "${OUTFILE_XMA}.$$" | ||||
| 			echo_so "TEST OK" | ||||
| 		} | ||||
| 	} | ||||
| 	;; | ||||
| leakcheck) | ||||
| 	bin_valgrind="`which valgrind 2> /dev/null || echo ""`" | ||||
| 	[ -n "${bin_valgrind}" -a -f "${bin_valgrind}" ] || { | ||||
| 		echo_so "valgrind not found. cannot perform this test" | ||||
| 		exit 1 | ||||
| 	} | ||||
| 	run_scripts "${bin_valgrind} --leak-check=full --show-reachable=yes --track-fds=yes" 2>&1 > "${OUTFILE}.test" | ||||
| 	x=`grep -Fic "no leaks are possible" "${OUTFILE}.test"` | ||||
| 	y=`grep -Fic "${bin_valgrind}" "${OUTFILE}.test"` | ||||
| 	if [ ${x} -eq ${y} ]  | ||||
| 	then | ||||
| 		echo_so "(POSSIBLY) no memory leaks detected". | ||||
| 	else | ||||
| 		echo_so "(POSSIBLY) some memory leaks detected". | ||||
| 	fi | ||||
| 	echo_so "Inspect the '${OUTFILE}.test' file for details" | ||||
| 	;; | ||||
| *) | ||||
| 	echo_so "USAGE: $0 init" | ||||
| 	echo_so "       $0 test" | ||||
| 	echo_so "       $0 leakcheck" | ||||
| 	exit 1 | ||||
| 	;; | ||||
| esac | ||||
| 	 | ||||
| exit 0 | ||||
							
								
								
									
										23
									
								
								regress/sed/s001.dat
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								regress/sed/s001.dat
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,23 @@ | ||||
| ab...c | ||||
| ------ | ||||
| AAA | ||||
|  | ||||
| de...f | ||||
| gh...i | ||||
| ------ | ||||
| AAA1 | ||||
|  | ||||
| jk...l | ||||
| mn...o | ||||
| pq...r | ||||
| ------ | ||||
| AAA2 | ||||
|  | ||||
|  | ||||
|  | ||||
| kbs | ||||
| ------ | ||||
| ddd | ||||
| dif | ||||
| ------ | ||||
| cccc | ||||
							
								
								
									
										14
									
								
								regress/sed/s001.sed
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								regress/sed/s001.sed
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,14 @@ | ||||
| # require -n | ||||
| h | ||||
| :again n | ||||
| /^-+$/ { | ||||
|         g | ||||
|         N | ||||
|         s/\n/ / | ||||
|         p | ||||
|         b skip | ||||
| } | ||||
| x | ||||
| p | ||||
| b again | ||||
| :skip | ||||
							
								
								
									
										23
									
								
								regress/sed/s002.dat
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								regress/sed/s002.dat
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,23 @@ | ||||
| ab...c | ||||
| ------ | ||||
| AAA | ||||
|  | ||||
| de...f | ||||
| gh...i | ||||
| ------ | ||||
| AAA1 | ||||
|  | ||||
| jk...l | ||||
| mn...o | ||||
| pq...r | ||||
| ------ | ||||
| AAA2 | ||||
|  | ||||
|  | ||||
|  | ||||
| kbs | ||||
| ------ | ||||
| ddd | ||||
| dif | ||||
| ------ | ||||
| cccc | ||||
							
								
								
									
										9
									
								
								regress/sed/s002.sed
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								regress/sed/s002.sed
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,9 @@ | ||||
| # | ||||
| # author: bushi @ kldp | ||||
| # | ||||
| :a $!N | ||||
| /\n------/N | ||||
| s/\n------\n/ / | ||||
| ta | ||||
| P | ||||
| D | ||||
							
								
								
									
										23
									
								
								regress/sed/s003.dat
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								regress/sed/s003.dat
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,23 @@ | ||||
| ab...c | ||||
| ------ | ||||
| AAA | ||||
|  | ||||
| de...f | ||||
| gh...i | ||||
| ------ | ||||
| AAA1 | ||||
|  | ||||
| jk...l | ||||
| mn...o | ||||
| pq...r | ||||
| ------ | ||||
| AAA2 | ||||
|  | ||||
|  | ||||
|  | ||||
| kbs | ||||
| ------ | ||||
| ddd | ||||
| dif | ||||
| ------ | ||||
| cccc | ||||
							
								
								
									
										13
									
								
								regress/sed/s003.sed
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								regress/sed/s003.sed
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,13 @@ | ||||
| # | ||||
| # author: APRIL1024 @ kldp | ||||
| # | ||||
| /^[^ ][^ ]*/{ | ||||
| 	N | ||||
| 	/--*/!{ | ||||
| 		P | ||||
| 		D | ||||
| 	} | ||||
| 	N | ||||
| 	s/\n.*\n/ / | ||||
| } | ||||
|  | ||||
							
								
								
									
										9
									
								
								regress/sed/s004.dat
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								regress/sed/s004.dat
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,9 @@ | ||||
| linux { | ||||
| Host: hellow.com | ||||
| Address: 3.32.22.22 | ||||
| } | ||||
|  | ||||
| linux { | ||||
| Host: ip.com | ||||
| Address: 99.32.22.22 | ||||
| } | ||||
							
								
								
									
										14
									
								
								regress/sed/s004.sed
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								regress/sed/s004.sed
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,14 @@ | ||||
| #  | ||||
| # author: pynoos @ kldp | ||||
| # | ||||
| /^linux/ {  | ||||
| :grab | ||||
| 	/^}/ b end | ||||
| 	s/^Host:.*$/HOST: com.com/ | ||||
| 	s/^Address:.*$/ADDRESS: 45.34.34.33/ | ||||
| 	n        | ||||
| 	b grab   | ||||
| :end | ||||
| 	n        | ||||
| 	p        | ||||
| } | ||||
							
								
								
									
										5
									
								
								regress/sed/s005.dat
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								regress/sed/s005.dat
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | ||||
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 | ||||
							
								
								
									
										3
									
								
								regress/sed/s005.sed
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								regress/sed/s005.sed
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,3 @@ | ||||
| a \ | ||||
| ------------------- | ||||
| n | ||||
							
								
								
									
										5
									
								
								regress/sed/s006.dat
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								regress/sed/s006.dat
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | ||||
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 | ||||
							
								
								
									
										3
									
								
								regress/sed/s006.sed
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								regress/sed/s006.sed
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,3 @@ | ||||
| a \ | ||||
| ------------------- | ||||
| N | ||||
							
								
								
									
										9
									
								
								regress/sed/s007.dat
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								regress/sed/s007.dat
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,9 @@ | ||||
|  | ||||
| # copy binaries to ramdisk | ||||
| cp -a /bin/* /ramdisk/busybin/ | ||||
| echo -n "done${CRE}" | ||||
|  | ||||
|  | ||||
| # copy binaries again to ramdisk | ||||
| cp -a /bin/* /ramdisk/busybin/ | ||||
| echo -n "done${CRE}" | ||||
							
								
								
									
										18
									
								
								regress/sed/s007.sed
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								regress/sed/s007.sed
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,18 @@ | ||||
| # | ||||
| # Taken from message #8918 by Davide Brini in the sed-users mailing list | ||||
| # | ||||
|  | ||||
| $!N | ||||
|  | ||||
| \|^cp -a /bin/\* /ramdisk/busybin/\necho -n "done\${CRE}"$| { | ||||
| 	s|$|\ | ||||
| #COPY DISK TO /ramdisk/cdrom\ | ||||
| if [ -n "$FROMINIT" ];then\ | ||||
| 	cp -af /image/* /ramdisk/cdrom/\ | ||||
| fi| | ||||
| 	p | ||||
| 	d | ||||
| } | ||||
|  | ||||
| P | ||||
| D | ||||
							
								
								
									
										9
									
								
								regress/sed/s008.dat
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								regress/sed/s008.dat
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,9 @@ | ||||
|  | ||||
| # copy binaries to ramdisk | ||||
| cp -a /bin/* /ramdisk/busybin/ | ||||
| echo -n "done${CRE}" | ||||
|  | ||||
|  | ||||
| # copy binaries again to ramdisk | ||||
| cp -a /bin/* /ramdisk/busybin/ | ||||
| echo -n "done${CRE}" | ||||
							
								
								
									
										11
									
								
								regress/sed/s008.sed
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								regress/sed/s008.sed
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,11 @@ | ||||
| # | ||||
| # Taken from message #8926 by nburns1980 in the sed-users mailing list | ||||
| # | ||||
| \|cp -a /bin/\* /ramdisk/busybin/|,+1 { | ||||
| //n | ||||
| \|echo -n "done\${CRE}"| a\ | ||||
| #COPY DISK TO /ramdisk/cdrom\ | ||||
| if [ -n "$FROMINIT" ];then\ | ||||
| 	cp -af /image/* /ramdisk/cdrom/\ | ||||
| fi | ||||
| } | ||||
							
								
								
									
										5
									
								
								regress/sed/s009.dat
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								regress/sed/s009.dat
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | ||||
| root:x:0:0:root:/root:/bin/bash | ||||
| daemon:x:1:1:daemon:/usr/sbin:/bin/sh | ||||
| ####################################### | ||||
| bin:x:2:2:bin:/bin:/bin/sh | ||||
| sys:x:3:3:sys:/dev:/bin/sh | ||||
							
								
								
									
										1
									
								
								regress/sed/s009.sed
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								regress/sed/s009.sed
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | ||||
| C|d:,D;,f3,1,f6-7|d | ||||
		Reference in New Issue
	
	Block a user