summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan.goodliffe@octal.co.uk>2021-08-27 10:35:05 +0100
committerDan Goodliffe <dan.goodliffe@octal.co.uk>2021-08-27 10:35:05 +0100
commit2333e4ce8041bd0fa1cb7095afac9de29eb920ca (patch)
treea3e67f60c63dc5ec4c5f720c36f346ae2a938659
parentLatest cov function (diff)
downloadutil-2333e4ce8041bd0fa1cb7095afac9de29eb920ca.tar.bz2
util-2333e4ce8041bd0fa1cb7095afac9de29eb920ca.tar.xz
util-2333e4ce8041bd0fa1cb7095afac9de29eb920ca.zip
Add col function
-rw-r--r--bashrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index 6146ca8..3593cc7 100644
--- a/bashrc
+++ b/bashrc
@@ -4,6 +4,10 @@ body() {
"$@"
}
+col() {
+ awk "{ print \$$1; }"
+}
+
safedir() {
echo "$@ $(pwd)" | md5sum | cut -b-32
}