yob-v-u
yob-v-u

Reputation: 119

Selecting from line number x to xxx in sublime text

Let's say I have a 500,000 line file, how do I select from line 200,000 to 350,000 in sublime text? I just need to delete all those lines, it's pretty tedious doing the highlight scrolling.

Is there a command I can put into the command line? I can't seem to find anything on how to do this.

Upvotes: 0

Views: 884

Answers (1)

AGS
AGS

Reputation: 14498

Why open this file and do it in ST? If you know which lines you want to delete, just use sed.

sed -i -e '200000,350000d' filename

Upvotes: 1

Related Questions