Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I doubt a patch will withstand this form submission, but here goes. The only thing is the
    addition of a '*' to the check for the testcpp
    output. (It's an issue of spaces.)
    <PRE>
    --- Configure Fri Jan 17 11:32:56 1997
    +++ Configure.new Mon Nov 20 16:59:29 2000
    @@ -566,7 +566,7 @@
      EOT
      echo 'Maybe "/lib/cpp" will work...'
      /lib/cpp <testcpp.c >testcpp.out 2>&1
    -if $contains 'abc.xyz' testcpp.out >/dev/null 2>&1 ; then
    +if $contains 'abc.*xyz' testcpp.out >/dev/null 2>&1 ; then
              echo "Yup, it does."
              cpp='/lib/cpp'
              cppminus='';
    </PRE>