md5sum 309 B

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