Skip to content

milesrout/ni

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ni!

Installation

cp ni.py ~/bin/ni

Usage

ni [EXPR1] [EXPR2] ...

Take lines from stdin as an iterator, and execute ni-expressions EXPR1, EXPR2 etc on this iterator. If the final result is a string, it is printed. Otherwise, the resulted is iterated over and printed line by line

Line mode

ni -l [EXPR1] [EXPR2] ...

In line mode, the ni-expressions are applied to each line instead of to the iterator containing all lines.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%