start-from

1.0.2 • Public • Published

start-from

Command-line tool to ignore lines of a stream until a line matches a given pattern, typically to resume an operation from the point where it stopped.

Install

npm install -g start-from

Use

cat ./some_file | start-from "some pattern"

Alternative

The case can be done with grep, by abusing the --after-context option:

# Set 'infinity' to more than the number of lines in your file
infinity=1000000000000
cat ./some_file | grep "some pattern" --after-context $infinity

Package Sidebar

Install

npm i start-from

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

2.44 kB

Total Files

5

Last publish

Collaborators

  • maxlath