aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-09 09:34:58 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-09 09:34:58 +1300
commit19d1d88b5fa202530ab8405365ac7e4fc72ecbf4 (patch)
treee076395138bac1d8cb634b2f9de27eb1a29b70a8 /bin
parentAdd sec(1df) (diff)
downloaddotfiles-19d1d88b5fa202530ab8405365ac7e4fc72ecbf4.tar.gz
dotfiles-19d1d88b5fa202530ab8405365ac7e4fc72ecbf4.zip
Add uts(1df)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/uts4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/uts b/bin/uts
new file mode 100755
index 00000000..8777a7e2
--- /dev/null
+++ b/bin/uts
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Get the current timestamp in a POSIX compatible fashion
+PATH=$(getconf PATH)
+awk 'BEGIN { srand() ; print srand() }'