Skip to content
This repository was archived by the owner on Aug 6, 2021. It is now read-only.

GenomicsCoreLeuven/koen_tricks

 
 

Repository files navigation

Koen's Tricks and Scripts

Tool list:

  • cgrep.sh

  • cless.sh

  • get_pbs_header.sh

  • koen_tricks.sh

  • ls_names.sh

  • viewer_csv.sh

  • viewer_html.sh

  • viewer_md.sh

  • viewer_tsv.sh

cgrep

A modified version of grep

Usage:

cgrep pattern file

Parameters:

  • pattern the pattern or string to search

  • file the file to search in

  • --h cgrep --h : the help of grep

cless

A modified version of less, to use with cgrep

Usage:

cless file
cgrep pattern file | cless

Parameters:

  • file the file to display

  • --h cless --h : the help of less

get_pbs_header

This script generates a pbs header for a new script

Usage:

get_pbs_header

Parameters:

  • MAIL= The mail adress to use (This can be set as a environment variable in .bash_profile))

  • PROJECT= The project to use (This can be set as a environment variable in .bash_profile)

  • NAME= The name of the script

koen_tricks

This script generates a help page for all other tools in this package

Usage:

koen_tricks

Parameters:

  • -mute Only generate the README.md file

ls_names

This script is a ls, but changes the user numbers into names

Usage:

ls_gc

viewer_csv

A clear view of csv files

Usage:

viewer_csv file.csv

Parameters:

  • file.csv the CSV file to view

viewer_html

A clear view of HTML files

Note: this viewer can not render images. To see images, please use a GUI browser (like firefox). The best way to do this, is to download the file, and view it locally.

Usage:

viewer_html file.html

Parameters:

  • file.html the HTML file to view

viewer_md

A clear view of md files (mark-down)

Usage:

viewer_md file.md

Parameters:

  • file.md the MD file to view

viewer_tsv

A clear view of tsv files

Usage:

viewer_tsv file.tsv

Parameters:

  • file.tsv the TSV file to view

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%