aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-08-04 10:49:31 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-08-04 10:49:31 +1200
commit0e5f30dc1b0c054d8646d24a3bda36399f8a1d22 (patch)
tree33ae3fc0e479f50f4991e9a71a043060c901d218 /bash
parentMove database option to [mysql] section (diff)
downloaddotfiles-0e5f30dc1b0c054d8646d24a3bda36399f8a1d22.tar.gz
dotfiles-0e5f30dc1b0c054d8646d24a3bda36399f8a1d22.zip
Rename pan() to paz() (like grep -Z)
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc.d/pa.bash2
-rw-r--r--bash/bashrc.d/paz.bash (renamed from bash/bashrc.d/pan.bash)2
2 files changed, 2 insertions, 2 deletions
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