Skip to content

Recursively cat file(s) with syntax higlighting

Notifications You must be signed in to change notification settings

limkokhole/recurcat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

recurcat

Recursively cat file(s) with syntax higlighting.

How to use:

[1] source it first, or normally put its code in ~/.bash_aliases

xb@dnxb:~/note/sh/recurcat$ chmod +x recurcat.sh; . recurcat.sh

[2] Run as recurcat <syntax type> <regex filepath>, enjoy :)

Screenshots:

[1] recurcat
recurcat

[2] recurcat_g (if you want to pipe result of recurcat and grep) recurcat_g

Tips:

Most of the case you use sh syntax to highlight a file or output of command if no prior knowledge of file type, since shell script and shell command output is common in Linux.

About

Recursively cat file(s) with syntax higlighting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages