[OS-tickets] [Optimization Services] #5: tail -4 is not portable

Optimization Services coin-trac at coin-or.org
Sun Jul 27 18:22:21 EDT 2008


#5: tail -4 is not portable
------------------------+---------------------------------------------------
 Reporter:  andreasw    |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  minor       |   Milestone:          
Component:  component1  |     Version:          
 Keywords:              |  
------------------------+---------------------------------------------------
 Hi,

 I ran the configure script on AIX, and I get the error message:

 {{{
 tail: `-4' option is obsolete; use `-n 4'
 Try `tail --help' for more information.
 svn: Write error: Broken pipe
 }}}

 The issue is that "{{{tail -4}}}" in the line

 {{{
 svn info | tail -4 > $ac_default_prefix/src/version.txt
 }}}

 should be replaced by "{{{tail -n 4}}}"

-- 
Ticket URL: <https://projects.coin-or.org/OS/ticket/5>
Optimization Services <http://projects.coin-or.org/OS>
An interface for Web services implementing optimization.



More information about the OS-tickets mailing list