harmonizing shebang for scripts
[feisty_meow.git] / scripts / core / array_sifter.sh
index fec3f2097f91c62d19e6a7c2db3fda500c6cd7ff..a66941a4aa7bdb7c87bf0a77db788bb1cae48360 100644 (file)
@@ -1,7 +1,12 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # Provides functions for checking and sorting the contents of arrays.
 
+
+#hmmm: these could all be beefed up by properly handling spaces in array
+#      entries.  use "${blah[@]}" rather than '*' for getting all elems.
+
+
 # given the name of an array as the first parameter, this signals
 # success (return value zero) if the second parameter is found in the
 # array.  failure (non-zero return) occurs if the item is missing.