summaryrefslogtreecommitdiffstats
path: root/.bashrc
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-06-05 13:55:10 +0200
committerJan Pokorný <jpokorny@redhat.com>2013-06-05 13:55:10 +0200
commit19598510f929d3722c055f439dc499771d3944ee (patch)
tree29d1b8eee0b9edc6f09aa53b7212a3488904ab64 /.bashrc
parent3db3c5294b441f6ac9d593867bbe12e4a9f3ff9f (diff)
downloaddotfiles-19598510f929d3722c055f439dc499771d3944ee.tar.gz
dotfiles-19598510f929d3722c055f439dc499771d3944ee.tar.xz
dotfiles-19598510f929d3722c055f439dc499771d3944ee.zip
.bashrc: add debug-argsep to debug input arguments splitting
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index c50dc5a..653efa2 100644
--- a/.bashrc
+++ b/.bashrc
@@ -44,3 +44,10 @@ ack-intersection () {
[ $# -ne 2 ] && echo "usage: $FUNCNAME 1st-regexp 2nd-regexp" && return
comm <(ack -al --follow "Topic" | sort) <(ack -al --follow "news" | sort) -12
}
+
+debug-argsep () {
+ while [ $# -ne 0 ]; do
+ echo $1;
+ shift
+ done
+}