Skip to content

Instantly share code, notes, and snippets.

@EvanCarroll
Created August 1, 2011 18:39
Show Gist options
  • Save EvanCarroll/1118728 to your computer and use it in GitHub Desktop.
Save EvanCarroll/1118728 to your computer and use it in GitHub Desktop.
if [ -n $1 ]; then LOT_IDS=$1
else LOT_IDS=$(
cat <( run-parts --test $INPUT_DIR ) <( run-parts --test $INPUT_DIR/combined) |
perl -pe's/^.*?(?=\d)|_.*//g'
)
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment