Skip to content
/ recat Public

cat utillity with regular expressions and color.

License

Notifications You must be signed in to change notification settings

lib64/recat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recat

cat utillity with regular expressions and color.

install

git clone https://github.com/lib64/recat
cd recat
make
sudo make install

Help

recat - cat with regular expressions and color

Usage: recat [OPTION]... [FILE]...

With no FILE, read standard input.

--help   -h         Print Help
--regex  -r  <str>  Pattern Matching
--fg     -f  <str>  Set the foreground color
--bg     -b  <str>  Set the background color

Examples:
  recat -b blue -r root /etc/passwd | head -n 10
  ps aux | recat -b red -r root | head -n 10
  echo "bright-cyan text!" | recat -f bright-cyan
  recat -f red -r gets file.c

Examples:

example 1

example 2

example 3

example 4

Releases

No releases published

Packages

No packages published