wperron / palgrep

A grep-style cli app that matches on palindromic lines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

palgrep

A grep-style cli app that matches on palindromic lines

Usage

To list all palindromes and their line number:

palgrep [FILES...]

To count the number of palindromes in each file:

palgrep [FILES...] | awk -F ':' '{print $1}' | uniq -c

About

A grep-style cli app that matches on palindromic lines

License:MIT License


Languages

Language:Rust 100.0%