/contrib/dialog/samples/msgbox-help

https://bitbucket.org/freebsd/freebsd-head/ · Shell · 14 lines · 8 code · 4 blank · 2 comment · 0 complexity · 1f8ddf9725fb1cf086f142be91036d56 MD5 · raw file

  1. #!/bin/sh
  2. # $Id: msgbox-help,v 1.6 2010/01/13 10:53:11 tom Exp $
  3. . ./setup-vars
  4. $DIALOG --title "MESSAGE BOX" --clear \
  5. --help-button "$@" \
  6. --msgbox "Hi, this is a simple message box. You can use this to \
  7. display any message you like. The box will remain until \
  8. you press the ENTER key." 10 41
  9. retval=$?
  10. . ./report-button