mirror of
https://github.com/sharkdp/bat.git
synced 2025-10-30 06:33:59 +00:00
committed by
Louis Maddox
parent
20db989fb1
commit
52a792d46f
@@ -194,6 +194,7 @@ Options:
|
||||
'--line-range :40' prints lines 1 to 40
|
||||
'--line-range 40:' prints lines 40 to the end of the file
|
||||
'--line-range 40' only prints line 40
|
||||
'--line-range -10:' prints the last 10 lines
|
||||
'--line-range 30:+10' prints lines 30 to 40
|
||||
'--line-range 35::5' prints lines 30 to 40 (line 35 with 5 lines of context)
|
||||
'--line-range 30:40:2' prints lines 28 to 42 (range 30-40 with 2 lines of context)
|
||||
|
||||
Reference in New Issue
Block a user