[PATCH] tail -n not supported in all OSs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



SunOS/Solaris tail(1) does not support option '-n'. The
following patches change occurrances of:

   tail -n <N>

to

   tail <N>

---------------------------------------------------------------------
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]                     
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux