db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcai...@apache.org
Subject svn commit: r612578 - /db/jdo/bin/behead
Date Wed, 16 Jan 2008 21:49:27 GMT
Author: mcaisse
Date: Wed Jan 16 13:49:26 2008
New Revision: 612578

URL: http://svn.apache.org/viewvc?rev=612578&view=rev
Log:
Make enum file processing work on Mac as well as cygwin.

Modified:
    db/jdo/bin/behead

Modified: db/jdo/bin/behead
URL: http://svn.apache.org/viewvc/db/jdo/bin/behead?rev=612578&r1=612577&r2=612578&view=diff
==============================================================================
--- db/jdo/bin/behead (original)
+++ db/jdo/bin/behead Wed Jan 16 13:49:26 2008
@@ -44,7 +44,7 @@
         if [ ${IS_ENUM} -eq 1 ]
         then
             # Workaround for Frame bug: Add blank line at beginning
-            tail -n ${NUMLINES} $FILE | sed -e "1i\ " > ${OUTFILE}
+            tail -n ${NUMLINES} $FILE | sed -e "1H" -e "1g" > ${OUTFILE}
         else
             tail -n ${NUMLINES} $FILE > ${OUTFILE}
         fi



Mime
View raw message