md5sum 271 B

123456789
  1. #!/usr/bin/env bash
  2. # This file is part of the OpenADK project. OpenADK is copyrighted
  3. # material, please see the LICENCE file in the top-level directory.
  4. if [ -x /usr/bin/md5sum ]; then
  5. /usr/bin/md5sum "$@"
  6. else
  7. md5 "$@" | sed 's#MD5 (\([^)]*\)) = \(.*\)#\2 \1#'
  8. fi