Skip to content

miscellaneous scripts, mostly for the GNU/Linux command line

License

Notifications You must be signed in to change notification settings

adamhotep/misc-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

misc-scripts

Miscellaneous scripts, mostly for the GNU/Linux command line

abridge

Show a brief sampling of given file(s) content.

avg

Calculate the average of a series of input numbers. Supports arithmetic mean, median, standard deviation, max, min, and sum. Numbers can be from a given field with a custom delimiter.

cal

A smarter cal wrapper that can handle month names, 9mo view, and nearest month. Try cal -9.

diffc

Colored diff, uses git diff --patience if available

grepe

A smarter multi-pattern grep wrapper.

lsps

List entire ownership hierarchy of given process(es) from top to bottom.

ls.swp

Show notes on vim swap files.

sortn

Title-aware sort wrapper that displays title line(s) before sorted content.

trunc

Truncate input to current terminal width (or specify a different width).

zawk

Like zcat + awk, supporting bz2, gz, xz, & more, with proper FILENAME and FNR.

Releases

No releases published

Packages

No packages published