#15514: reinplace should warn if nothing got replaced --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts base enhancements Component: base | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Comment (by raimue@macports.org): Not sure if it is faster or better than `diff -q`, but `cmp -s $file $tmpfile` returns as exit value if two files differ, without any output on stdout (getting rid of `>/dev/null`). -- Ticket URL: <http://trac.macports.org/ticket/15514#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS