On 17 Jul 2002 09:11:44 PDT Mike Noyes wrote:

> Hmm, then what did I do wrong in rev 1.2? I used vi to dd out the lines
> below, and you ended up with a broken pipe from the server last night.

I am not sure about the broken pipe, but if you need more
evidence it *should* work, see below.  My apologies for the
long lines.  Any chance the broken pipe was a coincidence
or an artifact of the check-in of enforce_naming.pl rather
than the code changes?

  $ ./enforce_naming.pl dummy FOO BAR makefile cvs
  All Makefiles must have proper case (M should be upper-case).  (dummy/makefile)
  Creation of files named CVS or cvs is prohibited. (dummy/cvs)
  
  $ ./enforce_naming.pl.orig dummy FOO BAR makefile cvs
  All filenames must be completely lowercase except Makefiles.  (dummy/FOO)
  All filenames must be completely lowercase except Makefiles.  (dummy/BAR)
  All Makefiles must have proper case (M should be upper-case).  (dummy/makefile)
  Creation of files named CVS or cvs is prohibited. (dummy/cvs)

  $ diff ./enforce_naming.pl.orig ./enforce_naming.pl
  51,56d50
  <       # Verify that all files are lowercase, except Makefiles
  <       if ((substr($_, 0, 8) ne "Makefile") and (lc($_) ne $_)) {
  <               print "All filenames must be completely lowercase except ";
  <               print "Makefiles. ($directory/$_)\n";
  <               $exit_val = 1;
  <       }
  

--Brad

> Any enlightenment is appreciated.
> 
> > >  # Verify that all files are lowercase, except Makefiles
> > >         if ((substr($_, 0, 8) ne "Makefile") and (lc($_) ne $_)) {
> > >                 print "All filenames must be completely lowercase except 
>";
> > >                 print "Makefiles. ($directory/$_)\n";
> > >                 $exit_val = 1;
> > >         }
> > > 
> > > leaf/CVSROOT/enforce_naming rev 1.3
> > > http://cvs.leaf-project.org/cgi-bin/viewcvs.cgi/leaf/CVSROOT/


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to