[Unison-hackers] Re: Bug in / patch for Unison 2.12.0's Makefile.OCaml

Zvezdan Petkovic zpetkovic at acm.org
Fri Jun 24 01:52:24 EDT 2005


On Wed, Jun 22, 2005 at 09:55:47PM -0400, Benjamin Pierce wrote:
> OK, changed.  But this still doesn't address Nick's main concern -- 
> that tail -1 doesn't work on OSX -- right?

Sorry for not replying earlier.
I'm at a conference right now.

His change with

	sed -n '$p'

(I think this was that) should work with the same effect everywhere.  It
is a portable clean sed.  Although I'm surprised that tail -1 doesn't
work on OS X, being derived from BSD.
According to POSIX

	tail -n 1 filename

should work everywhere.  Solaris has POSIX tools in /usr/xpg4/bin
AFAIK.  So one of these should work.



More information about the Unison-hackers mailing list