Skip to content

voder-ai/sort-lines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sort-lines

A simple command-line tool to sort lines of text.

Installation

From the project root, run:

perl Makefile.PL
make
make test
make install

Usage

Pipe text into sort-lines, for example:

printf "banana\napple\ncherry\n" | sort-lines
apple
banana
cherry

Or read from a file:

sort-lines < input.txt > sorted.txt

Testing

Run:

make test

About

Topics

Resources

License

Stars

Watchers

Forks

Languages