From: Jari Aalto Date: Tue, 16 Oct 2007 16:57:14 GMT Subject: [PATCH] tail -n not supported in all OSs Message-ID: <1192553837-18302-1-git-send-email-jari.aalto@cante.net> SunOS/Solaris tail(1) does not support option '-n'. The following patches change occurrances of: tail -n to tail --------------------------------------------------------------------- REFERENCES: User Commands TAIL(1) NAME tail - output the last part of files SYNOPSIS tail [OPTION]... [FILE]... - - - $ uname -a SunOS host 5.9 Generic_118558-35 sun4u sparc SUNW,Serverblade1 $ echo | tail -n 1 usage: tail [+/-[n][lbc][f]] [file] tail [+/-[n][l][r|f]] [file]