Igor Schein on Wed, 24 Feb 1999 14:36:00 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: 2.0.14.4


Hi all,

I needed the following patch to have Configure -ask working properly
under CygWin with ActivePerl ( port of Perl for Windows ).  The patch
works fine with regular perl as well.  

--- config/display~	Thu Jul 23 09:40:01 1998
+++ config/display	Wed Feb 24 14:32:13 1999
@@ -1,11 +1,11 @@
 if test -n "$perl"; then
-  echo $rep | $perl -e '
-     @input=split(/\s/,<>); $len = $#input + 3;
-     $len = ( $len - $len % 3) / 3;
-     for($i=0;$i<$len;$i++) {
-       printf "      %-18s%-18s%-18s\n",
-         $input[$i], $input[$i+$len], $input[$i+2*$len];
-     }'
+  echo $rep | $perl -e "
+     @input=split(/\s/,<>); \$len = \$#input + 3;
+     \$len = ( \$len - \$len % 3) / 3;
+     for(\$i=0;\$i<\$len;\$i++) {
+       printf qq(      %-18s%-18s%-18s\n),
+         \$input[\$i], \$input[\$i+\$len], \$input[\$i+2*\$len];
+     }"
 else
   echo $rep
 fi

Igor