[GHC] #1805: "tail" is different under Solaris

GHC trac at galois.com
Tue Oct 30 20:03:41 EDT 2007


#1805: "tail" is different under Solaris
-----------------------------+----------------------------------------------
    Reporter:  guest         |        Owner:  igloo      
        Type:  bug           |       Status:  new        
    Priority:  normal        |    Milestone:  6.8.1      
   Component:  Build System  |      Version:  6.8        
    Severity:  normal        |   Resolution:             
    Keywords:                |   Difficulty:  Easy (1 hr)
          Os:  Solaris       |     Testcase:             
Architecture:  x86           |  
-----------------------------+----------------------------------------------
Changes (by igloo):

  * owner:  => igloo

Comment:

 Ho humm.
 {{{
 $ echo | tail +2
 tail: Warning: "+number" syntax is deprecated, please use "-n +number"
 $ tail --version
 tail (GNU coreutils) 5.97
 Copyright (C) 2006 Free Software Foundation, Inc.
 This is free software.  You may redistribute copies of it under the terms
 of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.

 Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim
 Meyering.
 $
 }}}

 POSIX/SUS specifies it with -n:
 http://www.opengroup.org/onlinepubs/009695399/utilities/tail.html

 I'll change it to `$(SED) 1d`. Hopefully that'll work everywhere.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1805#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list