Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 940 Bytes

File metadata and controls

11 lines (6 loc) · 940 Bytes

bash-lib

This is my collection of shell functions and utility scripts, mostly for doing bioinformatics on the IU HPC clusters.

Scripts in utils/ are executable - see the code or run with -h/--help for usage info

Files ending in *.bash contain functions that can be sourced

I highly recommend Greg / GreyCat's Wiki starting with BashGuide and The Bash Hackers Wiki for learning how to write sane and maintainable shell scripts while avoiding bad code. Shell syntax is a minefield and there's a lot of poor code out there pretending to be 'right' or 'good enough' !

I also generally try to follow the Google Shell Syle Guide for readability (except I prefer tabs displayed as 4 spaces) ducks