Some fixes -- DirHandle isn't behaving as expected.

This commit is contained in:
DarkFeather
2017-03-30 19:14:29 -05:00
parent 60de762c8b
commit 83d4717be2
4 changed files with 62 additions and 14 deletions

View File

@@ -8,6 +8,12 @@ function header () {
function errorheader () {
tput setaf 1 1>&2; tput bold 1>&2; echo "ERROR:" $@ 1>&2; tput sgr0 1>&2; return
}
function infoheader() {
tput setaf 3; tput bold; echo $@; tput sgr0; return
}
function colorstrip() {
perl -e 'use strict; use warnings; while(<>) { s/\e\[[\d;]*m//g; print; }'
}
## Configuration reading ##
function param() {