aboutsummaryrefslogtreecommitdiff
path: root/bin/pp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pp')
-rwxr-xr-xbin/pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/pp b/bin/pp
new file mode 100755
index 00000000..d9fe6488
--- /dev/null
+++ b/bin/pp
@@ -0,0 +1,9 @@
+#!/bin/sh
+# Print the full path to each argument; path need not exist
+for arg ; do
+ case $arg in
+ /*) path=$arg ;;
+ *) path=$PWD/$arg ;;
+ esac
+ printf '%s\n' "$path"
+done