summaryrefslogtreecommitdiffstats
path: root/getopt/getopt-test.bash
diff options
context:
space:
mode:
authorLi Zefan2007-10-11 13:57:35 +0200
committerKarel Zak2007-10-11 13:57:35 +0200
commitcf9fc1dfe5432e63554b7ba192938984ddf61c4a (patch)
treead966faccd94a5684aff30084830812e1eaf96ea /getopt/getopt-test.bash
parenttailf: clean up gcc warnings & fix use of errno (diff)
downloadkernel-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