aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc.d')
-rw-r--r--bash/bashrc.d/pan.bash6
1 files changed, 6 insertions, 0 deletions
diff --git a/bash/bashrc.d/pan.bash b/bash/bashrc.d/pan.bash
new file mode 100644
index 00000000..14cd3625
--- /dev/null
+++ b/bash/bashrc.d/pan.bash
@@ -0,0 +1,6 @@
+# Print arguments, null-delimited; you will probably want to write this into a
+# file or as part of a pipeline
+pan() {
+ printf '%s\0' "$@"
+}
+