filter-big-file

1.0.2 • Public • Published

Filter Big FIle

A simple script to filter text files and exclude text blocks not matching to search parameters

installation

npm install --global filter-big-file

Options

--inputFile (required) - path to the source file

--outputFile (required) - path to the result file

--searchString (required) - text that should be contained by proper blocks

--blockSeparator (default: \n) - pattern to separate different blocks in text

Example

filter-big-file --inputFile=src/test-data.txt --outputFile=src/test-data-out-bin.txt --searchString='line 9' --blockSeparator=$'\n\r\n'

Readme

Keywords

Package Sidebar

Install

npm i filter-big-file

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

8.53 kB

Total Files

6

Last publish

Collaborators

  • off-border