From 2333e4ce8041bd0fa1cb7095afac9de29eb920ca Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 27 Aug 2021 10:35:05 +0100 Subject: Add col function --- bashrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bashrc') 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 } -- cgit v1.2.3