While I was waiting for 1.4 to compile, I took a peak at guile-doc-snarf.in
and noticed a gratuitous use of cat.  As I've never seen a sed implementation 
that didn't take the file on the command line, I imagine it's a no-brainer.

*** guile-doc-snarf.in  Tue Jun 20 05:04:23 2000
--- guile-doc-snarf.in.new      Tue Jun 20 05:03:57 2000
***************
*** 28,32 ****
  ## We must use a temporary file here, instead of a pipe, because we
  ## need to know if CPP exits with a non-zero status.
  ${CPP} -DSCM_MAGIC_SNARFER "$@" > ${temp} || exit $?
! cat ${temp} | sed 
's/^\(.\{128\}.\{128\}.\{128\}.\{128\}.\{128\}.\{128\}.\{128\}.\{128\}\).*/\1/g' | \
  ${AWK} -f `dirname $0`/guile-snarf.awk `basename ${dot_doc}`
--- 28,32 ----
  ## We must use a temporary file here, instead of a pipe, because we
  ## need to know if CPP exits with a non-zero status.
  ${CPP} -DSCM_MAGIC_SNARFER "$@" > ${temp} || exit $?
! sed 's/^\(.\{128\}.\{128\}.\{128\}.\{128\}.\{128\}.\{128\}.\{128\}.\{128\}\).*/\1/g' 
${temp} | \
  ${AWK} -f `dirname $0`/guile-snarf.awk `basename ${dot_doc}`

--Brad

Reply via email to