diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-30 01:41:53 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-30 02:09:31 +1200 |
commit | 4029cebd2abe02bed49b59052e62097aac2767d3 (patch) | |
tree | 2cab2439c5627be3aea1061aafcb8b491f2d0eb7 /bin | |
parent | Use terser syntax for .d loop sources (diff) | |
download | dotfiles-4029cebd2abe02bed49b59052e62097aac2767d3.tar.gz dotfiles-4029cebd2abe02bed49b59052e62097aac2767d3.zip |
Change pa and paz bash funcs to sh scripts
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pa | 4 | ||||
-rw-r--r-- | bin/paz | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,4 @@ +#!/bin/sh +# Print arguments, one per line. Compare paz(1). +[ "$#" -gt 0 ] || return 0 +printf '%s\n' "$@" diff --git a/bin/paz b/bin/paz new file mode 100644 index 00000000..679c55f8 --- /dev/null +++ b/bin/paz @@ -0,0 +1,4 @@ +#!/bin/sh +# Print arguments, terminated by null chars. Compare pa(1). +[ "$#" -gt 0 ] || return 0 +printf '%s\0' "$@" |