Skip to content

"tail" is different under Solaris

Every new shell-hack bears the risk of failing under solaris:

perl gen_flags.xsl.pl "ghc ghci" "/usr/local/lib/ghc-6.8.0.20071025" > flags.xsl
rm -f flags.xml
head -n 1 ../users_guide/flags.xml >> flags.xml
echo "<!DOCTYPE sect1 [<!ENTITY ndash  \"-\"> \
                       <!ENTITY ldquo  \"\`\"> \
                       <!ENTITY rdquo  \"'\">]>" >> flags.xml
tail -n +2 ../users_guide/flags.xml >> flags.xml
usage: tail [+/-[n][lbc][f]] [file]
       tail [+/-[n][l][r|f]] [file]
gmake[2]: *** [flags.xml] Error 2
gmake[2]: *** Deleting file `flags.xml'
Failed making all in man: 1
gmake[1]: *** [all] Error 1
gmake: *** [stage1] Error 1
Trac metadata
Trac field Value
Version 6.8
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC Christian.Maeder@dfki.de
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information