Vagrant Cascadian wrote on Sun, Dec 04, 2016 at 06:18:04 +0200:
> On 2016-12-04, Valerie R Young wrote:
> > --- implicit        2016-12-03 17:05:39.000000000 -0500
> > +++ implicit        2016-12-03 17:57:02.682034599 -0500
> > @@ -87,7 +87,7 @@
> >     : debian/$*/DEBIAN/md5sums
> >     @rm -f debian/$*/DEBIAN/md5sums
> >     @cd debian/$* && find * -path 'DEBIAN' -prune -o \
> > -     -type f -exec md5sum {} >>DEBIAN/md5sums \;
> > +     -type f -exec md5sum {} \; | LC_ALL=C sort >>DEBIAN/md5sums
> 
> Not positive, but I'm guessing the "\;" should be at the end of the
> line:

No, it's correct where it is.  It's part of the syntax to find(1)'s
-exec flag.  Placing it at the end of the line would cause sort(1) to
operate on a file named ";".

It could be replaced with a «+» to invoke md5sum(1) fewer times:

«-type f -exec md5sum -- {} +» 

Cheers,

Daniel

Reply via email to