PageRenderTime 25ms CodeModel.GetById 24ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/dialog/samples/calendar-stdout

https://bitbucket.org/freebsd/freebsd-head/
Shell | 9 lines | 4 code | 3 blank | 2 comment | 0 complexity | d536ea8f00451713785c1809c0a1563b MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, BSD-3-Clause, LGPL-2.0, LGPL-2.1, BSD-2-Clause, 0BSD, JSON, AGPL-1.0, GPL-2.0
1#!/bin/sh
2# $Id: calendar-stdout,v 1.6 2010/01/13 10:20:03 tom Exp $
3
4. ./setup-vars
5
6RESULT=`$DIALOG --stdout --title "CALENDAR" "$@" --calendar "Please choose a date..." 0 0 7 7 1981`
7retval=$?
8
9. ./report-string