1 /* warranty.c: warranty routines for bc. */
3 /* This file is part of GNU bc.
4 Copyright (C) 1991-1994, 1997, 2000, 2003, 2004 Free Software Foundation, Inc.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License , or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; see the file COPYING. If not, write to
18 The Free Software Foundation, Inc.
19 51 Franklin Street, Fifth Floor
20 Boston, MA 02110-1301 USA
22 You may contact the author by:
23 e-mail: philnelson@acm.org
24 us-mail: Philip A. Nelson
25 Computer Science Department, 9062
26 Western Washington University
27 Bellingham, WA 98226-9062
29 *************************************************************************/
36 /* Print the welcome banner. */
41 printf ("This is free software with ABSOLUTELY NO WARRANTY.\n");
42 printf ("For details type `warranty'. \n");
45 /* Print out the version information. */
49 printf("%s %s\n%s\n", PACKAGE, VERSION, BC_COPYRIGHT);
53 /* Print out the warranty information. */
59 printf ("\n%s", prefix);
62 " This program is free software; you can redistribute it and/or modify\n"
63 " it under the terms of the GNU General Public License as published by\n"
64 " the Free Software Foundation; either version 2 of the License , or\n"
65 " (at your option) any later version.\n\n"
66 " This program is distributed in the hope that it will be useful,\n"
67 " but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
68 " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
69 " GNU General Public License for more details.\n\n"
70 " You should have received a copy of the GNU General Public License\n"
71 " along with this program. If not, write to\n\n"
72 " The Free Software Foundation, Inc.\n"
73 " 51 Franklin Street, Fifth Floor\n"
74 " Boston, MA 02110-1301 USA\n\n");