/[pcre]/code/trunk/RunGrepTest
ViewVC logotype

Diff of /code/trunk/RunGrepTest

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 460 by ph10, Sun Sep 6 16:34:42 2009 UTC revision 461 by ph10, Mon Oct 5 10:59:35 2009 UTC
# Line 29  cf="diff -ub" Line 29  cf="diff -ub"
29  # that lacks a -u option. Try to deal with this; better do the test for the -b  # that lacks a -u option. Try to deal with this; better do the test for the -b
30  # option as well.  # option as well.
31    
32  if diff -u /dev/null /dev/null; then  if diff -u /dev/null /dev/null; then
33    if diff -ub /dev/null /dev/null; then cf="diff -ub"; else cf="diff -u"; fi    if diff -ub /dev/null /dev/null; then cf="diff -ub"; else cf="diff -u"; fi
34  else  else
35    if diff -b /dev/null /dev/null; then cf="diff -b"; else cf="diff"; fi    if diff -b /dev/null /dev/null; then cf="diff -b"; else cf="diff"; fi
36  fi  fi
37    

Legend:
Removed from v.460  
changed lines
  Added in v.461

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12