silent 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. ########################################################################
  2. # #
  3. # This software is part of the ast package #
  4. # Copyright (c) 1994-2011 AT&T Intellectual Property #
  5. # Copyright (c) 2020-2022 Contributors to ksh 93u+m #
  6. # and is licensed under the #
  7. # Eclipse Public License, Version 2.0 #
  8. # #
  9. # A copy of the License is available at #
  10. # https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html #
  11. # (with md5 checksum 84283fa8859daf213bdda5a9f8d1be1d) #
  12. # #
  13. # Glenn Fowler <gsf@research.att.com> #
  14. # Martijn Dekker <martijn@inlv.org> #
  15. # #
  16. ########################################################################
  17. # non-ksh stub for the nmake silent prefix
  18. # @(#)silent (ksh 93u+m) 2021-12-31
  19. while :
  20. do case $# in
  21. 0) exit 0 ;;
  22. esac
  23. case $1 in
  24. *=*) export "$1"
  25. shift
  26. ;;
  27. *) break
  28. ;;
  29. esac
  30. done
  31. "$@"