Broke my_seq out to its own file (it handles the lack of seq on mac os x and the...
[dja/scandal.git] / my_seq.sh
diff --git a/my_seq.sh b/my_seq.sh
new file mode 100644 (file)
index 0000000..400a28f
--- /dev/null
+++ b/my_seq.sh
@@ -0,0 +1,6 @@
+# Mac OS X doesn't have seq. It has jot instead.
+Linux_seq="seq"
+Darwin_seq="jot -"
+if [[ $(uname) == "Darwin" ]]; then my_seq=$Darwin_seq;
+else my_seq=$Linux_seq;
+fi;

UCC git Repository :: git.ucc.asn.au