diff options
author | Li Zefan | 2007-10-11 13:57:35 +0200 |
---|---|---|
committer | Karel Zak | 2007-10-11 13:57:35 +0200 |
commit | cf9fc1dfe5432e63554b7ba192938984ddf61c4a (patch) | |
tree | ad966faccd94a5684aff30084830812e1eaf96ea /getopt/getopt-test.bash | |
parent | tailf: clean up gcc warnings & fix use of errno (diff) | |
download | kernel-qcow2-util-linux-cf9fc1dfe5432e63554b7ba192938984ddf61c4a.tar.gz kernel-qcow2-util-linux-cf9fc1dfe5432e63554b7ba192938984ddf61c4a.tar.xz kernel-qcow2-util-linux-cf9fc1dfe5432e63554b7ba192938984ddf61c4a.zip |
tailf: add option -n to specifying output lines
It will be useful if we can print out the last n lines instead of the last
10, just like tail.
There are examples:
tailf -n 5 file1
tailf --lines 10 file2
tailf -20 file3
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'getopt/getopt-test.bash')
0 files changed, 0 insertions, 0 deletions