From 0d83bdba2c236b7aa32c5b4d06185b9c547d3b2d Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 14 Dec 2009 01:44:50 +0000 Subject: [PATCH] revised project information and added more test scripts for awk --- qse/Makefile.in | 12 +- qse/{README => README.in} | 7 +- qse/cmd/Makefile.in | 2 + qse/cmd/awk/Makefile.in | 2 + qse/cmd/cut/Makefile.in | 2 + qse/cmd/lsp/Makefile.in | 2 + qse/cmd/sed/Makefile.in | 2 + qse/cmd/utl/Makefile.in | 2 + qse/configure | 87 +++--- qse/configure.ac | 21 +- qse/doc/Makefile.in | 2 + qse/doc/page.ko/Makefile.am | 5 - qse/doc/page.ko/Makefile.in | 383 ------------------------- qse/doc/page.ko/main.doc | 18 -- qse/doc/page/Makefile.in | 2 + qse/doc/page/awk.doc | 8 +- qse/doc/page/main.doc | 2 +- qse/include/Makefile.in | 2 + qse/include/qse/Makefile.in | 2 + qse/include/qse/awk/Makefile.in | 2 + qse/include/qse/cmn/Makefile.in | 2 + qse/include/qse/config.h.in | 17 +- qse/include/qse/cut/Makefile.in | 2 + qse/include/qse/lsp/Makefile.in | 2 + qse/include/qse/sed/Makefile.in | 2 + qse/include/qse/utl/Makefile.in | 2 + qse/lib/Makefile.in | 2 + qse/lib/awk/Makefile.in | 2 + qse/lib/cmn/Makefile.in | 2 + qse/lib/cut/Makefile.in | 2 + qse/lib/lsp/Makefile.in | 2 + qse/lib/sed/Makefile.in | 2 + qse/lib/stx/stx.txt | 7 +- qse/lib/utl/Makefile.in | 2 + qse/regress/Makefile.in | 2 + qse/regress/awk/Makefile.am | 17 ++ qse/regress/awk/Makefile.in | 19 ++ qse/regress/awk/columnate.awk | 31 ++ qse/regress/awk/levenshtein-utests.awk | 30 ++ qse/regress/awk/levenshtein.awk | 108 +++++++ qse/regress/awk/rcalc.awk | 103 +++++++ qse/regress/awk/regress.out | 65 +++++ qse/regress/awk/regress.sh | 225 ++++++++------- qse/samples/Makefile.in | 2 + qse/samples/awk/Makefile.in | 2 + qse/samples/cmn/Makefile.in | 2 + qse/samples/sed/Makefile.in | 2 + qse/samples/utl/Makefile.in | 2 + 48 files changed, 639 insertions(+), 584 deletions(-) rename qse/{README => README.in} (77%) delete mode 100644 qse/doc/page.ko/Makefile.am delete mode 100644 qse/doc/page.ko/Makefile.in delete mode 100644 qse/doc/page.ko/main.doc create mode 100644 qse/regress/awk/columnate.awk create mode 100644 qse/regress/awk/levenshtein-utests.awk create mode 100644 qse/regress/awk/levenshtein.awk create mode 100644 qse/regress/awk/rcalc.awk diff --git a/qse/Makefile.in b/qse/Makefile.in index 28f4358c..e2a9072c 100644 --- a/qse/Makefile.in +++ b/qse/Makefile.in @@ -35,9 +35,9 @@ build_triplet = @build@ host_triplet = @host@ subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(top_srcdir)/configure \ - ac/au/config.guess ac/au/config.sub ac/au/depcomp \ - ac/au/install-sh ac/au/ltmain.sh ac/au/missing + $(srcdir)/Makefile.in $(srcdir)/README.in \ + $(top_srcdir)/configure ac/au/config.guess ac/au/config.sub \ + ac/au/depcomp ac/au/install-sh ac/au/ltmain.sh ac/au/missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/ac/m4/libtool.m4 \ $(top_srcdir)/ac/m4/ltoptions.m4 \ @@ -50,7 +50,7 @@ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/qse/config.h -CONFIG_CLEAN_FILES = +CONFIG_CLEAN_FILES = README CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = @@ -170,6 +170,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ @@ -283,6 +285,8 @@ $(top_srcdir)/configure: $(am__configure_deps) $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): +README: $(top_builddir)/config.status $(srcdir)/README.in + cd $(top_builddir) && $(SHELL) ./config.status $@ mostlyclean-libtool: -rm -f *.lo diff --git a/qse/README b/qse/README.in similarity index 77% rename from qse/README rename to qse/README.in index 8f8b9f29..6d69f2a9 100644 --- a/qse/README +++ b/qse/README.in @@ -12,9 +12,8 @@ Currently the library implements the following utilities: As the library grows, more utilities will be added. -The library is licensed under the Apache License, Version 2.0. +The library is licensed under LGPLv3. -The project webpage: http://qse.googlecode.com/ +The project webpage: @QSE_PROJECT_URL@ -For further information, contact: -Chung, Hyung-Hwan +For further information, contact: @QSE_PROJECT_AUTHOR@ diff --git a/qse/cmd/Makefile.in b/qse/cmd/Makefile.in index cf87d7dd..a73d1a16 100644 --- a/qse/cmd/Makefile.in +++ b/qse/cmd/Makefile.in @@ -155,6 +155,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/cmd/awk/Makefile.in b/qse/cmd/awk/Makefile.in index 6efafbad..2ae1391d 100644 --- a/qse/cmd/awk/Makefile.in +++ b/qse/cmd/awk/Makefile.in @@ -142,6 +142,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/cmd/cut/Makefile.in b/qse/cmd/cut/Makefile.in index 00be12bb..03ec90d9 100644 --- a/qse/cmd/cut/Makefile.in +++ b/qse/cmd/cut/Makefile.in @@ -141,6 +141,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/cmd/lsp/Makefile.in b/qse/cmd/lsp/Makefile.in index c53e43e5..678d2e4d 100644 --- a/qse/cmd/lsp/Makefile.in +++ b/qse/cmd/lsp/Makefile.in @@ -142,6 +142,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/cmd/sed/Makefile.in b/qse/cmd/sed/Makefile.in index 1c58e377..19a10246 100644 --- a/qse/cmd/sed/Makefile.in +++ b/qse/cmd/sed/Makefile.in @@ -141,6 +141,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/cmd/utl/Makefile.in b/qse/cmd/utl/Makefile.in index 0b49ae81..ab545cda 100644 --- a/qse/cmd/utl/Makefile.in +++ b/qse/cmd/utl/Makefile.in @@ -141,6 +141,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/configure b/qse/configure index 5554ec09..bdec5455 100755 --- a/qse/configure +++ b/qse/configure @@ -2,7 +2,7 @@ # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.64 for qse 0.5.3. # -# Report bugs to . +# Report bugs to . # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software @@ -228,11 +228,11 @@ fi $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else - $as_echo "$0: Please tell bug-autoconf@gnu.org and bacon@abiyo.net -$0: about your system, including any error possibly output -$0: before this message. Then install a modern shell, or -$0: manually run the script under such a shell if you do -$0: have one." + $as_echo "$0: Please tell bug-autoconf@gnu.org and Chung, Hyung-Hwan +$0: (hyunghwan.chung@gmail.com) about your system, +$0: including any error possibly output before this +$0: message. Then install a modern shell, or manually run +$0: the script under such a shell if you do have one." fi exit 1 fi @@ -700,8 +700,8 @@ PACKAGE_NAME='qse' PACKAGE_TARNAME='qse' PACKAGE_VERSION='0.5.3' PACKAGE_STRING='qse 0.5.3' -PACKAGE_BUGREPORT='bacon@abiyo.net' -PACKAGE_URL='' +PACKAGE_BUGREPORT='Chung, Hyung-Hwan (hyunghwan.chung@gmail.com)' +PACKAGE_URL='http://qse.googlecode.com' # Factoring default headers for most tests. ac_includes_default="\ @@ -743,6 +743,8 @@ ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS +QSE_PROJECT_URL +QSE_PROJECT_AUTHOR QSE_SIZEOF_LONG_DOUBLE QSE_SIZEOF_DOUBLE QSE_SIZEOF_FLOAT @@ -1578,7 +1580,8 @@ Some influential environment variables: Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. -Report bugs to . +Report bugs to . +qse home page: . _ACEOF ac_status=$? fi @@ -2146,9 +2149,9 @@ $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" > { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ( cat <<\_ASBOX -## ------------------------------ ## -## Report this to bacon@abiyo.net ## -## ------------------------------ ## +## HHHHHHHHHHHHHHHHHHHH ## +## Report this to Chung ## +## HHHHHHHHHHHHHHHHHHHH ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; @@ -6571,13 +6574,13 @@ if test "${lt_cv_nm_interface+set}" = set; then : else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:6574: $ac_compile\"" >&5) + (eval echo "\"\$as_me:6577: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:6577: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:6580: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:6580: output\"" >&5) + (eval echo "\"\$as_me:6583: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -7783,7 +7786,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 7786 "configure"' > conftest.$ac_ext + echo '#line 7789 "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -9840,11 +9843,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:9843: $lt_compile\"" >&5) + (eval echo "\"\$as_me:9846: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:9847: \$? = $ac_status" >&5 + echo "$as_me:9850: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -10179,11 +10182,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:10182: $lt_compile\"" >&5) + (eval echo "\"\$as_me:10185: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:10186: \$? = $ac_status" >&5 + echo "$as_me:10189: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -10284,11 +10287,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:10287: $lt_compile\"" >&5) + (eval echo "\"\$as_me:10290: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:10291: \$? = $ac_status" >&5 + echo "$as_me:10294: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -10339,11 +10342,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:10342: $lt_compile\"" >&5) + (eval echo "\"\$as_me:10345: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:10346: \$? = $ac_status" >&5 + echo "$as_me:10349: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -12722,7 +12725,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12725 "configure" +#line 12728 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12818,7 +12821,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12821 "configure" +#line 12824 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -14774,11 +14777,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14777: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14780: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:14781: \$? = $ac_status" >&5 + echo "$as_me:14784: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -14873,11 +14876,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14876: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14879: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:14880: \$? = $ac_status" >&5 + echo "$as_me:14883: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14925,11 +14928,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14928: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14931: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:14932: \$? = $ac_status" >&5 + echo "$as_me:14935: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17081,8 +17084,14 @@ cat >>confdefs.h <<_ACEOF _ACEOF + cat >>confdefs.h <<_ACEOF -#define QSE_AUTHOR "${PACKAGE_BUGREPORT}" +#define QSE_PROJECT_AUTHOR "${PACKAGE_BUGREPORT}" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define QSE_PROJECT_URL "${PACKAGE_URL}" _ACEOF @@ -17444,7 +17453,12 @@ QSE_SIZEOF_DOUBLE=$ac_cv_sizeof_double QSE_SIZEOF_LONG_DOUBLE=$ac_cv_sizeof_long_double -ac_config_files="$ac_config_files Makefile include/Makefile include/qse/Makefile include/qse/cmn/Makefile include/qse/sed/Makefile include/qse/awk/Makefile include/qse/cut/Makefile include/qse/lsp/Makefile include/qse/utl/Makefile lib/Makefile lib/cmn/Makefile lib/sed/Makefile lib/awk/Makefile lib/cut/Makefile lib/lsp/Makefile lib/utl/Makefile cmd/Makefile cmd/sed/Makefile cmd/awk/Makefile cmd/cut/Makefile cmd/lsp/Makefile cmd/utl/Makefile samples/Makefile samples/cmn/Makefile samples/sed/Makefile samples/awk/Makefile samples/utl/Makefile regress/Makefile regress/awk/Makefile doc/Makefile doc/page/Makefile doc/page.ko/Makefile doc/Doxyfile" +QSE_PROJECT_AUTHOR="${PACKAGE_BUGREPORT}" + +QSE_PROJECT_URL="${PACKAGE_URL}" + + +ac_config_files="$ac_config_files Makefile README include/Makefile include/qse/Makefile include/qse/cmn/Makefile include/qse/sed/Makefile include/qse/awk/Makefile include/qse/cut/Makefile include/qse/lsp/Makefile include/qse/utl/Makefile lib/Makefile lib/cmn/Makefile lib/sed/Makefile lib/awk/Makefile lib/cut/Makefile lib/lsp/Makefile lib/utl/Makefile cmd/Makefile cmd/sed/Makefile cmd/awk/Makefile cmd/cut/Makefile cmd/lsp/Makefile cmd/utl/Makefile samples/Makefile samples/cmn/Makefile samples/sed/Makefile samples/awk/Makefile samples/utl/Makefile regress/Makefile regress/awk/Makefile doc/Makefile doc/page/Makefile doc/Doxyfile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -18051,7 +18065,8 @@ $config_headers Configuration commands: $config_commands -Report bugs to ." +Report bugs to . +qse home page: ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 @@ -18532,6 +18547,7 @@ do "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "README") CONFIG_FILES="$CONFIG_FILES README" ;; "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; "include/qse/Makefile") CONFIG_FILES="$CONFIG_FILES include/qse/Makefile" ;; "include/qse/cmn/Makefile") CONFIG_FILES="$CONFIG_FILES include/qse/cmn/Makefile" ;; @@ -18562,7 +18578,6 @@ do "regress/awk/Makefile") CONFIG_FILES="$CONFIG_FILES regress/awk/Makefile" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "doc/page/Makefile") CONFIG_FILES="$CONFIG_FILES doc/page/Makefile" ;; - "doc/page.ko/Makefile") CONFIG_FILES="$CONFIG_FILES doc/page.ko/Makefile" ;; "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;; *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; diff --git a/qse/configure.ac b/qse/configure.ac index 931ff700..ad34ca4e 100644 --- a/qse/configure.ac +++ b/qse/configure.ac @@ -1,5 +1,7 @@ + dnl AC_PREREQ(2.59) -AC_INIT([qse],[0.5.3],[bacon@abiyo.net]) + +AC_INIT([qse],[0.5.3],[Chung, Hyung-Hwan (hyunghwan.chung@gmail.com)],,[http://qse.googlecode.com]) AC_CONFIG_HEADER([include/qse/config.h]) AC_CONFIG_AUX_DIR([ac/au]) AC_CONFIG_MACRO_DIR([ac/m4]) @@ -159,11 +161,13 @@ AC_DEFINE_UNQUOTED(QSE_SIZEOF_WCHAR_T, ${ac_cv_sizeof_wchar_t}, [sizeof(wchar_t) AC_DEFINE_UNQUOTED(QSE_SIZEOF_OFF_T, ${ac_cv_sizeof_off_t}, [sizeof(off_t)]) AC_DEFINE_UNQUOTED(QSE_SIZEOF_OFF64_T, ${ac_cv_sizeof_off64_t}, [sizeof(off64_t)]) -AC_DEFINE_UNQUOTED(QSE_VERSION, "${VERSION}", [package version]) -AC_DEFINE_UNQUOTED(QSE_VERSION_MAJOR, $(echo ${VERSION} | cut -d. -f1), [major version number]) -AC_DEFINE_UNQUOTED(QSE_VERSION_MINOR, $(echo ${VERSION} | cut -d. -f2), [minor version number]) -AC_DEFINE_UNQUOTED(QSE_VERSION_PATCH, $(echo ${VERSION} | cut -d. -f3), [patch level]) -AC_DEFINE_UNQUOTED(QSE_AUTHOR,"${PACKAGE_BUGREPORT}", [author's email address]) +AC_DEFINE_UNQUOTED(QSE_VERSION, "${VERSION}", [Package version]) +AC_DEFINE_UNQUOTED(QSE_VERSION_MAJOR, $(echo ${VERSION} | cut -d. -f1), [Major version number]) +AC_DEFINE_UNQUOTED(QSE_VERSION_MINOR, $(echo ${VERSION} | cut -d. -f2), [Minor version number]) +AC_DEFINE_UNQUOTED(QSE_VERSION_PATCH, $(echo ${VERSION} | cut -d. -f3), [Patch level]) + +AC_DEFINE_UNQUOTED(QSE_PROJECT_AUTHOR,"${PACKAGE_BUGREPORT}", [Author's contact]) +AC_DEFINE_UNQUOTED(QSE_PROJECT_URL, "${PACKAGE_URL}", [Project URL]) AC_C_BIGENDIAN( [AC_DEFINE([QSE_ENDIAN_BIG],[],[Big Endian])], @@ -242,8 +246,12 @@ AC_SUBST(QSE_SIZEOF_FLOAT, $ac_cv_sizeof_float) AC_SUBST(QSE_SIZEOF_DOUBLE, $ac_cv_sizeof_double) AC_SUBST(QSE_SIZEOF_LONG_DOUBLE, $ac_cv_sizeof_long_double) +AC_SUBST(QSE_PROJECT_AUTHOR, "${PACKAGE_BUGREPORT}") +AC_SUBST(QSE_PROJECT_URL, "${PACKAGE_URL}") + AC_CONFIG_FILES([ Makefile + README include/Makefile include/qse/Makefile include/qse/cmn/Makefile @@ -274,7 +282,6 @@ AC_CONFIG_FILES([ regress/awk/Makefile doc/Makefile doc/page/Makefile - doc/page.ko/Makefile doc/Doxyfile ]) AC_OUTPUT diff --git a/qse/doc/Makefile.in b/qse/doc/Makefile.in index 200719e1..be67ae8b 100644 --- a/qse/doc/Makefile.in +++ b/qse/doc/Makefile.in @@ -159,6 +159,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/doc/page.ko/Makefile.am b/qse/doc/page.ko/Makefile.am deleted file mode 100644 index 1fa48eef..00000000 --- a/qse/doc/page.ko/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ - -AUTOMAKE_OPTIONS = no-dependencies - -EXTRA_DIST = \ - main.doc diff --git a/qse/doc/page.ko/Makefile.in b/qse/doc/page.ko/Makefile.in deleted file mode 100644 index 097789d2..00000000 --- a/qse/doc/page.ko/Makefile.in +++ /dev/null @@ -1,383 +0,0 @@ -# Makefile.in generated by automake 1.11 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 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@ -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 = doc/page.ko -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/ac/m4/libtool.m4 \ - $(top_srcdir)/ac/m4/ltoptions.m4 \ - $(top_srcdir)/ac/m4/ltsugar.m4 \ - $(top_srcdir)/ac/m4/ltversion.m4 \ - $(top_srcdir)/ac/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/include/qse/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -depcomp = -am__depfiles_maybe = -SOURCES = -DIST_SOURCES = -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AR = @AR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -BUILD_MODE = @BUILD_MODE@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CHAR_MODE = @CHAR_MODE@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -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_OBJC = @HAVE_OBJC@ -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@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJC = @OBJC@ -OBJCDEPMODE = @OBJCDEPMODE@ -OBJCFLAGS = @OBJCFLAGS@ -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@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ -QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ -QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ -QSE_SIZEOF_INT = @QSE_SIZEOF_INT@ -QSE_SIZEOF_LONG = @QSE_SIZEOF_LONG@ -QSE_SIZEOF_LONG_DOUBLE = @QSE_SIZEOF_LONG_DOUBLE@ -QSE_SIZEOF_LONG_LONG = @QSE_SIZEOF_LONG_LONG@ -QSE_SIZEOF_SHORT = @QSE_SIZEOF_SHORT@ -QSE_SIZEOF_VOID_P = @QSE_SIZEOF_VOID_P@ -QSE_SIZEOF_WCHAR_T = @QSE_SIZEOF_WCHAR_T@ -RANLIB = @RANLIB@ -RM = @RM@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -ac_ct_OBJC = @ac_ct_OBJC@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -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@ -lt_ECHO = @lt_ECHO@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -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 -EXTRA_DIST = \ - main.doc - -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 doc/page.ko/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign doc/page.ko/Makefile -.PRECIOUS: 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__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - 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): - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: - - -distdir: $(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 -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: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -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 \ - 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 uninstall uninstall-am - - -# 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: diff --git a/qse/doc/page.ko/main.doc b/qse/doc/page.ko/main.doc deleted file mode 100644 index 6958fbc0..00000000 --- a/qse/doc/page.ko/main.doc +++ /dev/null @@ -1,18 +0,0 @@ -/** @mainpage QSE - -@section intro 소개 - -QSE는 여러가지 스크립팅 언어처리기와 유틸리티들을 포함하고 있습니다. - -라이브러리는 아파치 라이센스 2.0에 따라 배포됩니다. - -프로젝트 홈페이지: http://qse.googlecode.com/ - -더 많은 정보가 필요하면 -정형환 -에게 연락하세요. - -@section modules 구성요소 -- @ref awk "AWK" -- @ref sed "SED" -*/ diff --git a/qse/doc/page/Makefile.in b/qse/doc/page/Makefile.in index ead714a5..89d5bd03 100644 --- a/qse/doc/page/Makefile.in +++ b/qse/doc/page/Makefile.in @@ -118,6 +118,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/doc/page/awk.doc b/qse/doc/page/awk.doc index a6f1ac16..d14cc20e 100644 --- a/qse/doc/page/awk.doc +++ b/qse/doc/page/awk.doc @@ -2,15 +2,17 @@ @section awk_intro INTRODUCTION -QSE includes an implementaion of an AWK interpreter that can be embedded -into an application written in C and/or C++. A hosting application can +QSEAWK is an embeddable AWK interpreter that is a part of the QSE library. +The design focuses on easy to use APIs + +A embedding application can - add new awk global variables and functions. - get and set the value of a global variable. - call an awk function. - customize I/O handlers for file, pipe, console I/O. - embed multiple interpreters independent of each other. - run a single script with different I/O streams independently. -- change language features supported by setting options. +- change language features by setting options. The interpreter implements the language described in the book The AWK Programming Language(http://cm.bell-labs.com/cm/cs/awkbook/) with diff --git a/qse/doc/page/main.doc b/qse/doc/page/main.doc index 1ade040c..68f99111 100644 --- a/qse/doc/page/main.doc +++ b/qse/doc/page/main.doc @@ -22,7 +22,7 @@ http://www.gnu.org/licenses/ The project webpage: http://qse.googlecode.com/ For further information, contact: -Chung, Hyung-Hwan +Chung, Hyung-Hwan @section installation INSTALLATION diff --git a/qse/include/Makefile.in b/qse/include/Makefile.in index 7988d9cc..003f9ec5 100644 --- a/qse/include/Makefile.in +++ b/qse/include/Makefile.in @@ -156,6 +156,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/include/qse/Makefile.in b/qse/include/qse/Makefile.in index c8fdef4d..eb5e42ee 100644 --- a/qse/include/qse/Makefile.in +++ b/qse/include/qse/Makefile.in @@ -184,6 +184,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/include/qse/awk/Makefile.in b/qse/include/qse/awk/Makefile.in index 02123ca7..87bf4df0 100644 --- a/qse/include/qse/awk/Makefile.in +++ b/qse/include/qse/awk/Makefile.in @@ -145,6 +145,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/include/qse/cmn/Makefile.in b/qse/include/qse/cmn/Makefile.in index 85e0cb74..69da3028 100644 --- a/qse/include/qse/cmn/Makefile.in +++ b/qse/include/qse/cmn/Makefile.in @@ -143,6 +143,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/include/qse/config.h.in b/qse/include/qse/config.h.in index 00e5778a..1efcc999 100644 --- a/qse/include/qse/config.h.in +++ b/qse/include/qse/config.h.in @@ -238,9 +238,6 @@ /* Define to the version of this package. */ #undef PACKAGE_VERSION -/* author's email address */ -#undef QSE_AUTHOR - /* char is mchar */ #undef QSE_CHAR_IS_MCHAR @@ -256,6 +253,12 @@ /* Unknown Endian */ #undef QSE_ENDIAN_UNKNOWN +/* Author's contact */ +#undef QSE_PROJECT_AUTHOR + +/* Project URL */ +#undef QSE_PROJECT_URL + /* sizeof(char) */ #undef QSE_SIZEOF_CHAR @@ -310,16 +313,16 @@ /* use the syscall() function to invoke a system call */ #undef QSE_USE_SYSCALL -/* package version */ +/* Package version */ #undef QSE_VERSION -/* major version number */ +/* Major version number */ #undef QSE_VERSION_MAJOR -/* minor version number */ +/* Minor version number */ #undef QSE_VERSION_MINOR -/* patch level */ +/* Patch level */ #undef QSE_VERSION_PATCH /* The size of `char', as computed by sizeof. */ diff --git a/qse/include/qse/cut/Makefile.in b/qse/include/qse/cut/Makefile.in index a455fc40..c6587360 100644 --- a/qse/include/qse/cut/Makefile.in +++ b/qse/include/qse/cut/Makefile.in @@ -143,6 +143,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/include/qse/lsp/Makefile.in b/qse/include/qse/lsp/Makefile.in index 83837773..afeab0f8 100644 --- a/qse/include/qse/lsp/Makefile.in +++ b/qse/include/qse/lsp/Makefile.in @@ -143,6 +143,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/include/qse/sed/Makefile.in b/qse/include/qse/sed/Makefile.in index b72403b1..f0ef8c48 100644 --- a/qse/include/qse/sed/Makefile.in +++ b/qse/include/qse/sed/Makefile.in @@ -145,6 +145,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/include/qse/utl/Makefile.in b/qse/include/qse/utl/Makefile.in index 5787bb47..b9cccf85 100644 --- a/qse/include/qse/utl/Makefile.in +++ b/qse/include/qse/utl/Makefile.in @@ -143,6 +143,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/lib/Makefile.in b/qse/lib/Makefile.in index 6bc0d04e..d664a295 100644 --- a/qse/lib/Makefile.in +++ b/qse/lib/Makefile.in @@ -155,6 +155,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/lib/awk/Makefile.in b/qse/lib/awk/Makefile.in index e5952767..49b61de4 100644 --- a/qse/lib/awk/Makefile.in +++ b/qse/lib/awk/Makefile.in @@ -182,6 +182,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/lib/cmn/Makefile.in b/qse/lib/cmn/Makefile.in index 08887197..a721ec1a 100644 --- a/qse/lib/cmn/Makefile.in +++ b/qse/lib/cmn/Makefile.in @@ -164,6 +164,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/lib/cut/Makefile.in b/qse/lib/cut/Makefile.in index 1d56d15e..0677a1e3 100644 --- a/qse/lib/cut/Makefile.in +++ b/qse/lib/cut/Makefile.in @@ -161,6 +161,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/lib/lsp/Makefile.in b/qse/lib/lsp/Makefile.in index 2c8d802e..bcd733af 100644 --- a/qse/lib/lsp/Makefile.in +++ b/qse/lib/lsp/Makefile.in @@ -163,6 +163,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/lib/sed/Makefile.in b/qse/lib/sed/Makefile.in index 82cdb9e3..7437e13c 100644 --- a/qse/lib/sed/Makefile.in +++ b/qse/lib/sed/Makefile.in @@ -180,6 +180,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/lib/stx/stx.txt b/qse/lib/stx/stx.txt index e1cb5a2d..0ff531e3 100644 --- a/qse/lib/stx/stx.txt +++ b/qse/lib/stx/stx.txt @@ -24,13 +24,10 @@ return the returned value from #main:withArgv and exits. AUTHOR(S) - Hyung-Hwan Chung (bacon@abiyo.net) is the sole designer and implementer of stx. - -BUG REPORTS - Report bugs to bacon@abiyo.net if you find any bugs. but make sure that it is really a bug before you report it. + Hyung-Hwan Chung (hyunghwan.chung@gmail.com) COPYRIGHT - Copyright(c) 2005 bacon@abiyo.net + Copyright(c) 2005 hyugnhwan.chung@gmail.com SEE ALSO qse(7) diff --git a/qse/lib/utl/Makefile.in b/qse/lib/utl/Makefile.in index e8bcdfef..1ff47eb2 100644 --- a/qse/lib/utl/Makefile.in +++ b/qse/lib/utl/Makefile.in @@ -161,6 +161,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/regress/Makefile.in b/qse/regress/Makefile.in index 0960f0ee..4c645214 100644 --- a/qse/regress/Makefile.in +++ b/qse/regress/Makefile.in @@ -156,6 +156,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/regress/awk/Makefile.am b/qse/regress/awk/Makefile.am index ff1d5d5c..97cb333e 100644 --- a/qse/regress/awk/Makefile.am +++ b/qse/regress/awk/Makefile.am @@ -95,11 +95,28 @@ EXTRA_DIST = \ lang-031.awk \ lang-032.awk \ lang-033.awk \ + lang-034.awk \ + lang-035.awk \ + lang-036.awk \ + lang-037.awk \ + lang-038.awk \ + lang-039.awk \ + lang-040.awk \ + lang-041.awk \ + lang-042.awk \ + columnate.awk \ + levenshtein.awk \ + levenshtein-utests.awk \ + rcalc.awk \ quicksort2.awk \ quicksort.awk \ stripcomment.awk \ unr-001.awk \ wordfreq.awk \ + lang-035.dat1 \ + lang-035.dat2 \ + lang-036.dat \ + lang-037.dat \ adr.dat \ asm.dat \ cou.dat \ diff --git a/qse/regress/awk/Makefile.in b/qse/regress/awk/Makefile.in index d53ad39a..1597c007 100644 --- a/qse/regress/awk/Makefile.in +++ b/qse/regress/awk/Makefile.in @@ -118,6 +118,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ @@ -285,11 +287,28 @@ EXTRA_DIST = \ lang-031.awk \ lang-032.awk \ lang-033.awk \ + lang-034.awk \ + lang-035.awk \ + lang-036.awk \ + lang-037.awk \ + lang-038.awk \ + lang-039.awk \ + lang-040.awk \ + lang-041.awk \ + lang-042.awk \ + columnate.awk \ + levenshtein.awk \ + levenshtein-utests.awk \ + rcalc.awk \ quicksort2.awk \ quicksort.awk \ stripcomment.awk \ unr-001.awk \ wordfreq.awk \ + lang-035.dat1 \ + lang-035.dat2 \ + lang-036.dat \ + lang-037.dat \ adr.dat \ asm.dat \ cou.dat \ diff --git a/qse/regress/awk/columnate.awk b/qse/regress/awk/columnate.awk new file mode 100644 index 00000000..a2029de5 --- /dev/null +++ b/qse/regress/awk/columnate.awk @@ -0,0 +1,31 @@ +#.H1 Columnate +#.H2 Synopsis +#.PRE +##e.g. +#gawk -F: -f columnate.awk /etc/passwd +#./PRE +#.H2 Download +#Download from +#.URL http://lawker.googlecode.com/svn/fridge/lib/awk/columnate.awk LAWKER. +#.H2 About +#This script columnates the input file, so that columns line up like in the GNU column(1) command. Its output is like that of column -t. First, awk reads the whole file, keeps track of the maximum width of each field, and saves all the lines/records. At the END, the lines are printed in columnated format. If your terminal is not too narrow, you'll get a handsome display of the file. +#.H2 Code +#.PRE +{ line[NR] = $0 # saves the line + for (f=1; f<=NF; f++) { + len = length($f) + if (len>max[f]) + max[f] = len } # an array of maximum field widths +} +END { + for(nr=1; nr<=NR; nr++) { + nf = split(line[nr], fields) + for (f=1; f gmail.com + +@include "levenshtein.awk" + +function testlevdist(str1, str2, correctval, testval) { + testval = levdist(str1, str2) + if (testval == correctval) { + printf "%s:\tCorrect distance between '%s' and '%s'\n", testval, str1, str2 + return 1 + } else { + print "MISMATCH on words '%s' and '%s' (wanted %s, got %s)\n", str1, str2, correctval, testval + return 0 + } +} +BEGIN { + testlevdist("kitten", "sitting", 3) + testlevdist("Saturday", "Sunday", 3) + testlevdist("acc", "ac", 1) + testlevdist("foo", "four", 2) + testlevdist("foo", "foo", 0) + testlevdist("cow", "cat", 2) + testlevdist("cat", "moocow", 5) + testlevdist("cat", "cowmoo", 5) + testlevdist("sebastian", "sebastien", 1) + testlevdist("more", "cowbell", 5) + testlevdist("freshpack", "freshpak", 1) + testlevdist("freshpak", "freshpack", 1) +} + diff --git a/qse/regress/awk/levenshtein.awk b/qse/regress/awk/levenshtein.awk new file mode 100644 index 00000000..cd31430d --- /dev/null +++ b/qse/regress/awk/levenshtein.awk @@ -0,0 +1,108 @@ +#.H1 levenshtein.awk +#.H2 Synopsis +#.PRE +#gawk -f levenshtein.awk --source 'BEGIN { +# print levdist("kitten", "sitting")}' +#./PRE +#.P (The above code should print "3"). +#.H2 Download +#.P +#Download from +#.URL http://lawker.googlecode.com/svn/fridge/lib/awk/levenshtein.awk LAWKER. +#.H2 Notes +#.P +#The Levenshtein edit distance calculation is useful for comparing text strings for similarity, such as would be done with a spell checker. +#.P +#Hi_saito (from awk.freeshell.org) has written what looks like a straightforward implementation of the reference algorithm described in the above-linked Wikipedia article. hi_saito's code is linked to rather than included outright because no licensing terms appear on the page. +#.P +#Gnomon (from awk.freeshell.org) is planning to write a more compact (and hopefully speedier) implementation that will appear here soon. The plan is to compute and retain only those values that are necessary to calculate the edit distance, rather than calculating the entire NxM? matrix. The lazy-evaluation method, which can post substantial speed improvements, probably requires more effort and code complexity than the performance gains would be worth; still, for short strings, the lazy code could perhaps be modeled via recursion by executing from the end of the string rather than the beginning. If experiments are run, the results will also appear here. +#.P +#Here is the abovementioned streamlined implementation. There were eleven previous versions, all of which were benchmarked across gawk, mawk and busybox awk. The approaches started with a naive implementation and explored table-based, recursive (with no, single and shared memoization) and lazy models. As expected, the lazy version was incredibly fiddly and not pleasant to read or pursue. Findings will appear here later, but for now, here's the code. +#.H2 Code +#.H3 levdist +#.SMALL +#.PRE +function levdist(str1, str2, l1, l2, tog, arr, i, j, a, b, c) { + if (str1 == str2) { + return 0 + } else if (str1 == "" || str2 == "") { + return length(str1 str2) + } else if (substr(str1, 1, 1) == substr(str2, 1, 1)) { + a = 2 + while (substr(str1, a, 1) == substr(str2, a, 1)) a++ + return levdist(substr(str1, a), substr(str2, a)) + } else if (substr(str1, l1=length(str1), 1) == substr(str2, l2=length(str2), 1)) { + b = 1 + while (substr(str1, l1-b, 1) == substr(str2, l2-b, 1)) b++ + return levdist(substr(str1, 1, l1-b), substr(str2, 1, l2-b)) + } + for (i = 0; i <= l2; i++) arr[0, i] = i + for (i = 1; i <= l1; i++) { + arr[tog = ! tog, 0] = i + for (j = 1; j <= l2; j++) { + a = arr[! tog, j ] + 1 + b = arr[ tog, j-1] + 1 + c = arr[! tog, j-1] + (substr(str1, i, 1) != substr(str2, j, 1)) + arr[tog, j] = (((a<=b)&&(a<=c)) ? a : ((b<=a)&&(b<=c)) ? b : c) + } + } + return arr[tog, j-1] +} +#./PRE +#./SMALL +#.H3 Demo code +#.P +#Run demo.awk using gawk -f levenshtein.awk -f demo.awk. +#.PRE +##demo.awk +#BEGIN {OFS = "\t"} +#{words[NR] = $0} +#END { +# max = 0 +# for (i = 2; i in words; i++) { +# for (j = i + 1; j in words; j++) { +# new = levdist(words[i], words[j]) +# print words[i], words[j], new +# if (new > max) { +# max = new +# bestpair = (words[i] " - " words[j] ": " new) +# } +# } +# } +# print bestpair +#} +#./PRE +#.H3 Unit tests +#.P +#Run utests.awk using gawk -f levenshtein.awk -f utests.awk. +#.SMALL +#.PRE +##utests.awk +#function testlevdist(str1, str2, correctval, testval) { +# testval = levdist(str1, str2) +# if (testval == correctval) { +# printf "%s:\tCorrect distance between '%s' and '%s'\n", testval, str1, str2 +# return 1 +# } else { +# print "MISMATCH on words '%s' and '%s' (wanted %s, got %s)\n", str1, str2, correctval, testval +# return 0 +# } +#} +#BEGIN { +# testlevdist("kitten", "sitting", 3) +# testlevdist("Saturday", "Sunday", 3) +# testlevdist("acc", "ac", 1) +# testlevdist("foo", "four", 2) +# testlevdist("foo", "foo", 0) +# testlevdist("cow", "cat", 2) +# testlevdist("cat", "moocow", 5) +# testlevdist("cat", "cowmoo", 5) +# testlevdist("sebastian", "sebastien", 1) +# testlevdist("more", "cowbell", 5) +# testlevdist("freshpack", "freshpak", 1) +# testlevdist("freshpak", "freshpack", 1) +#} +#./PRE +#./SMALL +#.H2 Author +#.P pierre.gaston <a.t> gmail.com diff --git a/qse/regress/awk/rcalc.awk b/qse/regress/awk/rcalc.awk new file mode 100644 index 00000000..5d5638df --- /dev/null +++ b/qse/regress/awk/rcalc.awk @@ -0,0 +1,103 @@ +#.H1 rcalc +#.H2 Synposis +#.PRE +##eg +# gawk -v target=89000 -f rcalc.awk +#./PRE +#.H2 Download +#.P +#Download from +#.URL http://lawker.googlecode.com/svn/fridge/lib/awk/rcalc.awk LAWKER. +#.H2 About +#.P +# Calculate resistor pair value from e24 series to make up arbitrary value +#.P +# When designing and building electronic projects I mostly use 1% resistors +# that come in the E24 series (24 values per decade). +#.P +# Frequently there's a need for some arbitrary value (between 10R and 1M +# in this script) resistor that can be made with a series or parallel +# combination of two standard values. +#.P +# This script searches the E24 standard value space for pairs of resistors +# that will produce or come close to the desired arbitrary resistor value. +#.H2 Example +#.PRE +#$ gawk -v target=89000 -f rcalc.awk +# Result Ra Rb Connect Error +# 88800.00 82000 6800 series -0.22% +# 88888.89 200000 160000 parallel -0.12% +# 89000.00 56000 33000 series +# 89000.00 62000 27000 series +# 89130.43 820000 100000 parallel +0.15% +# 89137.93 470000 110000 parallel +0.15% +# 89189.19 220000 150000 parallel +0.21% +#./PRE +#.H2 Code +#.SMALL +#.PRE +BEGIN { + print "Result Ra Rb Connect Error" + + max_error = 0.005 # +/- 0.5% + max_multiplier = 10000 # try four decades + + format = "%8.2f %7d %7d %-8s %+4.2f%%" + formnz = "%8.2f %7d %7d %-8s" + + limit_hi = target * (1 + max_error) + limit_lo = target * (1 - max_error) + +$0 = "10 11 12 13 15 16 18 20 22 24 27 30 33 36 39 43 47 51 56 62 68 75 82 91" + + for (i = 1; i < 25; i++) { + e24[i] = $i + } + for (u = 1; u < 25; u++) { + for (v = 1; v < 25; v++) { + for (i = 1; i <= max_multiplier; i *= 10) { + x = e24[u] * i + if (x == target) { + continue + } + for (j = 1; j <= max_multiplier; j *= 10) { + y = e24[v] * j + if (y == target) { + continue + } + combo(e24[u] * i, e24[v] * j) + } + } + } + } + exit # skip file reader +} +function combo(a, b, c) { + # parallel + c = a * b / (a + b) + combo2(a, b, c, "parallel") + # series + c = a + b + combo2(a, b, c, "series") +} +function combo2(a, b, c, d, e, f) { + # avoid duplicates and ignore result when error too big + if (a < b || c < limit_lo || c > limit_hi) { return } + e = 100 * (c - target) / target # percentage error + f = (e == 0 ? formnz : format) # select output format + result[n++] = sprintf(f, c, a, b, d, e) +} +END { + # sort by result value, print list +# n = asort(result, sort_result) + for (i = 1; i <= n; i++) { +# print sort_result[i] + print result[i] | "sort" + } +} +#./PRE +#./SMALL +#.H2 Author +#.P +# Copyright (c) 2009 Grant Coady <http://bugsplatter.id.au> GPLv2 + diff --git a/qse/regress/awk/regress.out b/qse/regress/awk/regress.out index bfe92a0a..bd2788f1 100644 --- a/qse/regress/awk/regress.out +++ b/qse/regress/awk/regress.out @@ -2086,6 +2086,71 @@ IGNORECASE= 1 1 1 1 +-------------------------------------------------------------------------------- + ../../cmd/awk/.libs/qseawk --newline=on -F: -f columnate.awk /etc/passwd &1 +-------------------------------------------------------------------------------- +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 +sync x 4 65534 sync /bin /bin/sync +games x 5 60 games /usr/games /bin/sh +man x 6 12 man /var/cache/man /bin/sh +lp x 7 7 lp /var/spool/lpd /bin/sh +mail x 8 8 mail /var/mail /bin/sh +news x 9 9 news /var/spool/news /bin/sh +uucp x 10 10 uucp /var/spool/uucp /bin/sh +proxy x 13 13 proxy /bin /bin/sh +www-data x 33 33 www-data /var/www /bin/sh +backup x 34 34 backup /var/backups /bin/sh +list x 38 38 Mailing List Manager /var/list /bin/sh +irc x 39 39 ircd /var/run/ircd /bin/sh +gnats x 41 41 Gnats Bug-Reporting System (admin) /var/lib/gnats /bin/sh +nobody x 65534 65534 nobody /nonexistent /bin/sh +libuuid x 100 101 /var/lib/libuuid /bin/sh +syslog x 101 102 /home/syslog /bin/false +klog x 102 103 /home/klog /bin/false +hplip x 103 7 HPLIP system user,,, /var/run/hplip /bin/false +avahi-autoipd x 104 110 Avahi autoip daemon,,, /var/lib/avahi-autoipd /bin/false +gdm x 105 111 Gnome Display Manager /var/lib/gdm /bin/false +saned x 106 113 /home/saned /bin/false +pulse x 107 114 PulseAudio daemon,,, /var/run/pulse /bin/false +messagebus x 108 117 /var/run/dbus /bin/false +polkituser x 109 118 PolicyKit,,, /var/run/PolicyKit /bin/false +avahi x 110 119 Avahi mDNS daemon,,, /var/run/avahi-daemon /bin/false +haldaemon x 111 120 Hardware abstraction layer,,, /var/run/hald /bin/false +hyung-hwan x 1000 1000 hyung-hwan chung,,, /home/hyung-hwan /bin/bash +statd x 112 65534 /var/lib/nfs /bin/false +sshd x 113 65534 /var/run/sshd /usr/sbin/nologin +speech-dispatcher x 114 29 Speech Dispatcher,,, /var/run/speech-dispatcher /bin/sh +couchdb x 115 116 CouchDB Administrator,,, /var/lib/couchdb /bin/bash +kernoops x 116 65534 Kernel Oops Tracking Daemon,,, / /bin/false +-------------------------------------------------------------------------------- + ../../cmd/awk/.libs/qseawk --newline=on --include=on -f levenshtein-utests.awk &1 +-------------------------------------------------------------------------------- +3: Correct distance between 'kitten' and 'sitting' +3: Correct distance between 'Saturday' and 'Sunday' +1: Correct distance between 'acc' and 'ac' +2: Correct distance between 'foo' and 'four' +0: Correct distance between 'foo' and 'foo' +2: Correct distance between 'cow' and 'cat' +5: Correct distance between 'cat' and 'moocow' +5: Correct distance between 'cat' and 'cowmoo' +1: Correct distance between 'sebastian' and 'sebastien' +5: Correct distance between 'more' and 'cowbell' +1: Correct distance between 'freshpack' and 'freshpak' +1: Correct distance between 'freshpak' and 'freshpack' +-------------------------------------------------------------------------------- + ../../cmd/awk/.libs/qseawk --newline=on -v target=89000 -f rcalc.awk &1 +-------------------------------------------------------------------------------- +Result Ra Rb Connect Error + +88800.00 82000 6800 series -0.22%% +89000.00 56000 33000 series +89000.00 62000 27000 series +89130.43 820000 100000 parallel +0.15%% +89137.93 470000 110000 parallel +0.15%% +89189.19 220000 150000 parallel +0.21%% -------------------------------------------------------------------------------- ../../cmd/awk/.libs/qseawk -f quicksort.awk quicksort.dat &1 -------------------------------------------------------------------------------- diff --git a/qse/regress/awk/regress.sh b/qse/regress/awk/regress.sh index 282bbb82..9e355e06 100755 --- a/qse/regress/awk/regress.sh +++ b/qse/regress/awk/regress.sh @@ -49,118 +49,121 @@ TMPFILE="${TMPFILE:=./regress.temp}" OUTFILE="${OUTFILE:=./regress.out}" PROGS=" - cou-001.awk/cou.dat// - cou-002.awk/cou.dat// - cou-003.awk/cou.dat// - cou-004.awk/cou.dat// - cou-005.awk/cou.dat// - cou-006.awk/cou.dat// - cou-007.awk/cou.dat// - cou-008.awk/cou.dat// - cou-009.awk/cou.dat// - cou-010.awk/cou.dat// - cou-011.awk/cou.dat// - cou-012.awk/cou.dat// - cou-013.awk/cou.dat// - cou-014.awk/cou.dat// - cou-015.awk/cou.dat// - cou-016.awk/cou.dat// - cou-017.awk/cou.dat// - cou-018.awk/cou.dat// - cou-019.awk/cou.dat// - cou-020.awk/cou.dat// - cou-021.awk/cou.dat// - cou-022.awk/cou.dat// - cou-023.awk/cou.dat// - cou-024.awk/cou.dat// - cou-025.awk/cou.dat// - cou-026.awk/cou.dat// - cou-027.awk/cou.dat// + cou-001.awk!cou.dat!! + cou-002.awk!cou.dat!! + cou-003.awk!cou.dat!! + cou-004.awk!cou.dat!! + cou-005.awk!cou.dat!! + cou-006.awk!cou.dat!! + cou-007.awk!cou.dat!! + cou-008.awk!cou.dat!! + cou-009.awk!cou.dat!! + cou-010.awk!cou.dat!! + cou-011.awk!cou.dat!! + cou-012.awk!cou.dat!! + cou-013.awk!cou.dat!! + cou-014.awk!cou.dat!! + cou-015.awk!cou.dat!! + cou-016.awk!cou.dat!! + cou-017.awk!cou.dat!! + cou-018.awk!cou.dat!! + cou-019.awk!cou.dat!! + cou-020.awk!cou.dat!! + cou-021.awk!cou.dat!! + cou-022.awk!cou.dat!! + cou-023.awk!cou.dat!! + cou-024.awk!cou.dat!! + cou-025.awk!cou.dat!! + cou-026.awk!cou.dat!! + cou-027.awk!cou.dat!! - emp-001.awk/emp.dat// - emp-002.awk/emp.dat// - emp-003.awk/emp.dat// - emp-004.awk/emp.dat// - emp-005.awk/emp.dat// - emp-006.awk/emp.dat// - emp-007.awk/emp.dat// - emp-008.awk/emp.dat// - emp-009.awk/emp.dat// - emp-010.awk/emp.dat// - emp-011.awk/emp.dat// - emp-012.awk/emp.dat// - emp-013.awk/emp.dat// - emp-014.awk/emp.dat// - emp-015.awk/emp.dat// - emp-016.awk/emp.dat// - emp-017.awk/emp.dat// - emp-018.awk/emp.dat// - emp-019.awk/emp.dat// - emp-020.awk/emp.dat// - emp-021.awk/emp.dat// - emp-022.awk/emp.dat// - emp-023.awk/emp.dat// - emp-024.awk/emp.dat// - emp-025.awk/emp.dat// - emp-026.awk/emp.dat// - emp-027.awk/emp.dat// + emp-001.awk!emp.dat!! + emp-002.awk!emp.dat!! + emp-003.awk!emp.dat!! + emp-004.awk!emp.dat!! + emp-005.awk!emp.dat!! + emp-006.awk!emp.dat!! + emp-007.awk!emp.dat!! + emp-008.awk!emp.dat!! + emp-009.awk!emp.dat!! + emp-010.awk!emp.dat!! + emp-011.awk!emp.dat!! + emp-012.awk!emp.dat!! + emp-013.awk!emp.dat!! + emp-014.awk!emp.dat!! + emp-015.awk!emp.dat!! + emp-016.awk!emp.dat!! + emp-017.awk!emp.dat!! + emp-018.awk!emp.dat!! + emp-019.awk!emp.dat!! + emp-020.awk!emp.dat!! + emp-021.awk!emp.dat!! + emp-022.awk!emp.dat!! + emp-023.awk!emp.dat!! + emp-024.awk!emp.dat!! + emp-025.awk!emp.dat!! + emp-026.awk!emp.dat!! + emp-027.awk!emp.dat!! - adr-001.awk/adr.dat// - adr-002.awk/adr.dat// + adr-001.awk!adr.dat!! + adr-002.awk!adr.dat!! - unr-001.awk/unr.dat// + unr-001.awk!unr.dat!! - lang-001.awk///--strictnaming=off --newline=on -o- - lang-002.awk///--newline=on -o- - lang-003.awk///--newline=on -o- - lang-004.awk///--newline=on -o- - lang-005.awk///--implicit=off --explicit=on --newline=on -o- - lang-006.awk///--implicit=off --explicit=on --newline=on -o- - lang-007.awk///--implicit=on --explicit=on --newline=on -o- - lang-008.awk///--implicit=off --explicit=on --newline=on -o- - lang-009.awk/lang-009.awk//--implicit=off --explicit=on --newline=on --strictnaming=off -o- - lang-010.awk/this is just a test//--newline=on -o- - lang-011.awk///--newline=on -o- - lang-012.awk///--newline=on -o- - lang-013.awk///--newline=on -o- - lang-014.awk///--newline=on -o- - lang-015.awk///--newline=on -o- - lang-016.awk///--newline=on -o- - lang-017.awk///--newline=on -o- - lang-017.awk///--call main --newline=on -o- - lang-018.awk///--explicit=on --newline=on -o- - lang-019.awk///--explicit=on --newline=on -o- - lang-020.awk///--explicit=on --newline=on -o- - lang-021.awk///--explicit=on --newline=on -o- - lang-022.awk///--newline=on -o- - lang-023.awk///--explicit=on --newline=on -o- - lang-024.awk///--explicit=on --newline=on -o- - lang-025.awk///--newline=on -o- - lang-026.awk///--newline=on -o- - lang-027.awk///--newline=on -o- - lang-028.awk///--newline=on -o- - lang-029.awk///--explicit=on --newline=on -o- - lang-030.awk///--newline=on -o- - lang-031.awk///--newline=on -o- - lang-032.awk///--newline=on -o- - lang-033.awk///--newline=on -o- - lang-034.awk///--newline=on --rwpipe=on -o- - lang-035.awk/lang-035.dat2//--newline=on -o- -vdatafile=lang-035.dat1 -vgroupname=lang-035 - lang-036.awk/lang-036.dat//--newline=on -o- - lang-037.awk/lang-037.dat//--newline=on -o- - lang-038.awk///--newline=on -o- - lang-039.awk///--newline=on -o- - lang-040.awk///--newline=on -o- - lang-041.awk///--newline=on -o- - lang-042.awk///--newline=on -o- + lang-001.awk!!!--strictnaming=off --newline=on -o- + lang-002.awk!!!--newline=on -o- + lang-003.awk!!!--newline=on -o- + lang-004.awk!!!--newline=on -o- + lang-005.awk!!!--implicit=off --explicit=on --newline=on -o- + lang-006.awk!!!--implicit=off --explicit=on --newline=on -o- + lang-007.awk!!!--implicit=on --explicit=on --newline=on -o- + lang-008.awk!!!--implicit=off --explicit=on --newline=on -o- + lang-009.awk!lang-009.awk!!--implicit=off --explicit=on --newline=on --strictnaming=off -o- + lang-010.awk!this is just a test!!--newline=on -o- + lang-011.awk!!!--newline=on -o- + lang-012.awk!!!--newline=on -o- + lang-013.awk!!!--newline=on -o- + lang-014.awk!!!--newline=on -o- + lang-015.awk!!!--newline=on -o- + lang-016.awk!!!--newline=on -o- + lang-017.awk!!!--newline=on -o- + lang-017.awk!!!--call main --newline=on -o- + lang-018.awk!!!--explicit=on --newline=on -o- + lang-019.awk!!!--explicit=on --newline=on -o- + lang-020.awk!!!--explicit=on --newline=on -o- + lang-021.awk!!!--explicit=on --newline=on -o- + lang-022.awk!!!--newline=on -o- + lang-023.awk!!!--explicit=on --newline=on -o- + lang-024.awk!!!--explicit=on --newline=on -o- + lang-025.awk!!!--newline=on -o- + lang-026.awk!!!--newline=on -o- + lang-027.awk!!!--newline=on -o- + lang-028.awk!!!--newline=on -o- + lang-029.awk!!!--explicit=on --newline=on -o- + lang-030.awk!!!--newline=on -o- + lang-031.awk!!!--newline=on -o- + lang-032.awk!!!--newline=on -o- + lang-033.awk!!!--newline=on -o- + lang-034.awk!!!--newline=on --rwpipe=on -o- + lang-035.awk!lang-035.dat2!!--newline=on -o- -vdatafile=lang-035.dat1 -vgroupname=lang-035 + lang-036.awk!lang-036.dat!!--newline=on -o- + lang-037.awk!lang-037.dat!!--newline=on -o- + lang-038.awk!!!--newline=on -o- + lang-039.awk!!!--newline=on -o- + lang-040.awk!!!--newline=on -o- + lang-041.awk!!!--newline=on -o- + lang-042.awk!!!--newline=on -o- - quicksort.awk/quicksort.dat// - quicksort2.awk/quicksort2.dat// - asm.awk/asm.s/asm.dat/ - stripcomment.awk/stripcomment.dat// - wordfreq.awk/wordfreq.awk// - hanoi.awk/// - indent.awk/indent.dat// + columnate.awk!/etc/passwd!!--newline=on -F: + levenshtein-utests.awk!!!--newline=on --include=on + rcalc.awk!!!--newline=on -v target=89000 + quicksort.awk!quicksort.dat!! + quicksort2.awk!quicksort2.dat!! + asm.awk!asm.s!asm.dat! + stripcomment.awk!stripcomment.dat!! + wordfreq.awk!wordfreq.awk!! + hanoi.awk!!! + indent.awk!indent.dat!! " [ -x "${QSEAWK}" ] || @@ -178,10 +181,10 @@ run_scripts() do [ -z "${prog}" ] && continue - script="`echo ${prog} | cut -d/ -f1`" - datafile="`echo ${prog} | cut -d/ -f2`" - redinfile="`echo ${prog} | cut -d/ -f3`" - awkopts="`echo ${prog} | cut -d/ -f4`" + script="`echo ${prog} | cut -d! -f1`" + datafile="`echo ${prog} | cut -d! -f2`" + redinfile="`echo ${prog} | cut -d! -f3`" + awkopts="`echo ${prog} | cut -d! -f4`" orgscript="${script}" [ -z "${script}" ] && continue diff --git a/qse/samples/Makefile.in b/qse/samples/Makefile.in index d3fac6b8..a79864fa 100644 --- a/qse/samples/Makefile.in +++ b/qse/samples/Makefile.in @@ -156,6 +156,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/samples/awk/Makefile.in b/qse/samples/awk/Makefile.in index 949347ad..90d07b6c 100644 --- a/qse/samples/awk/Makefile.in +++ b/qse/samples/awk/Makefile.in @@ -187,6 +187,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/samples/cmn/Makefile.in b/qse/samples/cmn/Makefile.in index 95af257e..53b221c4 100644 --- a/qse/samples/cmn/Makefile.in +++ b/qse/samples/cmn/Makefile.in @@ -181,6 +181,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/samples/sed/Makefile.in b/qse/samples/sed/Makefile.in index ace70b4b..d2e903f9 100644 --- a/qse/samples/sed/Makefile.in +++ b/qse/samples/sed/Makefile.in @@ -147,6 +147,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@ diff --git a/qse/samples/utl/Makefile.in b/qse/samples/utl/Makefile.in index 2738bc68..2fb829c9 100644 --- a/qse/samples/utl/Makefile.in +++ b/qse/samples/utl/Makefile.in @@ -120,6 +120,8 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@ +QSE_PROJECT_URL = @QSE_PROJECT_URL@ QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@ QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@ QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@