aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-11-21 13:14:16 +1300
committerTom Ryder <tom@sanctum.geek.nz>2014-11-21 13:14:16 +1300
commitaf8b98458a0a15760ed4287f7914f1a961bf3847 (patch)
treeda2573a3d57da28b072065220bc125b50e81d3a3 /bash
parentWhoops, missed a bar (diff)
downloaddotfiles-af8b98458a0a15760ed4287f7914f1a961bf3847.tar.gz
dotfiles-af8b98458a0a15760ed4287f7914f1a961bf3847.zip
Function to print all arguments one per line
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc.d/pa.bash5
1 files changed, 5 insertions, 0 deletions
diff --git a/bash/bashrc.d/pa.bash b/bash/bashrc.d/pa.bash
new file mode 100644
index 00000000..fc68ac28
--- /dev/null
+++ b/bash/bashrc.d/pa.bash
@@ -0,0 +1,5 @@
+# Print arguments
+pa() {
+ printf '%s\n' "$@"
+}
+