summaryrefslogtreecommitdiffstats
path: root/getpw-single
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-03-25 20:16:46 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-03-25 20:16:46 +0100
commitefbe42bd1bf65e47cde554c9b4d8c0bde7f22b17 (patch)
tree15d9dd527d7d78c01a051c01f9c6b88208f18318 /getpw-single
parent563576ff0e054ac73ebf92388e7107bdf7240bad (diff)
downloadbin-efbe42bd1bf65e47cde554c9b4d8c0bde7f22b17.tar.gz
bin-efbe42bd1bf65e47cde554c9b4d8c0bde7f22b17.tar.xz
add new scripts
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'getpw-single')
-rwxr-xr-xgetpw-single3
1 files changed, 3 insertions, 0 deletions
diff --git a/getpw-single b/getpw-single
new file mode 100755
index 0000000..11a01c9
--- /dev/null
+++ b/getpw-single
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+getpw "$@" | head -1 | cut -d\ -f1