timed tail for logfiles. Display loglines given a minimum date and/or a maximum date.
c
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

regen.sh 401B

12345678910111213141516171819
  1. #!/bin/bash
  2. cd $(dirname "$0")
  3. echo "Generating $(pwd)/Makefile.am"
  4. progs="$(echo *.c | sed -e 's/\.c / /g' -e 's/\.c$//')"
  5. echo "TESTS = $progs
  6. check_PROGRAMS = $progs
  7. pkginclude_HEADERS = ttail_check.h
  8. EXTRA_DIST = samples" > Makefile.am
  9. for p in $progs
  10. do
  11. echo "
  12. ${p}_SOURCES = ${p}.c
  13. ${p}_CFLAGS = @CHECK_CFLAGS@
  14. ${p}_LDADD = \$(top_builddir)/src/libttail.a @CHECK_LIBS@
  15. "
  16. done >> Makefile.am