aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.markdown2
-rw-r--r--bash/bashrc.d/pa.bash2
-rw-r--r--bash/bashrc.d/paz.bash (renamed from bash/bashrc.d/pan.bash)2
3 files changed, 3 insertions, 3 deletions
diff --git a/README.markdown b/README.markdown
index 0ec67b44..497d5fe5 100644
--- a/README.markdown
+++ b/README.markdown
@@ -184,7 +184,7 @@ There are a few other little tricks in `bash/bashrc.d`, including:
* `mkcp` — Create a directory and copy arguments into it
* `mkmv` — Create a directory and move arguments into it
* `pa` — Print given arguments, one per line
-* `pan` — Print given arguments separated by NULL chars
+* `paz` — Print given arguments separated by NULL chars
* `path` — Manage the contents of `PATH` conveniently
* `pd` — Change to the argument’s parent directory
* `scr` — Create a temporary directory and change into it
diff --git a/bash/bashrc.d/pa.bash b/bash/bashrc.d/pa.bash
index 3a7b8398..a2529968 100644
--- a/bash/bashrc.d/pa.bash
+++ b/bash/bashrc.d/pa.bash
@@ -1,4 +1,4 @@
-# Print arguments, one per line. Compare pan().
+# Print arguments, one per line. Compare paz().
pa() {
if (($#)) ; then
printf '%s\n' "$@"
diff --git a/bash/bashrc.d/pan.bash b/bash/bashrc.d/paz.bash
index 97de3917..99907298 100644
--- a/bash/bashrc.d/pan.bash
+++ b/bash/bashrc.d/paz.bash
@@ -1,6 +1,6 @@
# Print arguments, null-delimited; you will probably want to write this into a
# file or as part of a pipeline. Compare pa().
-pan() {
+paz() {
if (($#)) ; then
printf '%s\0' "$@"
fi