I would like to implement a Unix style grep command in textpad. Essentially, that would mean bookmarking the lines I want to keep and then deleting all UNMARKED lines. (The standard command deletes marked lines.)
Has anyone already done this? Care to eliminate the need to re-invent the wheel?
Thanks,
Jim Fredrickson
grep for lines
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
Ed
Re: grep for lines
Assuming the edits are within a single file...
Find the required string,
Mark All
Search/Invert All Bookmarks
Edit/Cut Other/Bookmarked Lines
Find the required string,
Mark All
Search/Invert All Bookmarks
Edit/Cut Other/Bookmarked Lines