Skip to content
/ line Public

A dead simple line printer for GNU/Linux (on AUR).

License

Notifications You must be signed in to change notification settings

mini-eggs/line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

 _ _            _ _            _ _            _ _            
| (_)_ __   ___| (_)_ __   ___| (_)_ __   ___| (_)_ __   ___ 
| | | '_ \ / _ \ | | '_ \ / _ \ | | '_ \ / _ \ | | '_ \ / _ \
| | | | | |  __/ | | | | |  __/ | | | | |  __/ | | | | |  __/
|_|_|_| |_|\___|_|_|_| |_|\___|_|_|_| |_|\___|_|_|_| |_|\___|
 
Print the Nth line of a file.

Usage:

$ cat hi.txt | line 2

will print the second line of the file hi.txt.

If negative line number specified we error out with a message. If line number
greater than what the file contains there will be no output. If one command
line argument provided we will error out with a message as well. Reads from
standard input, writes to standard output.

MIT licensed.
                                                            

About

A dead simple line printer for GNU/Linux (on AUR).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published