🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: btl.sources
Article #1

TAX modifications

#1
From: marks
Date: Thu, 25 Aug 1983 14:44
69 lines
2313 bytes
Boy, become a submitter to the net and meet all sorts of new people!!
The 'tax' program I submitted:
	1. had a typo that I (and my C compiler) missed - probably due
	   symbol length limits on USG UNIX being different from BSD UNIX.
	2. as I stated, was written on USG UNIX and may (read doesn't)
	   work with BSD UNIX (which I don't have access to).

Thanks to Bruce Parker (psuvax!parker) for castigation and
          Mark         (rochester!mark) for the following mods:

                                                Mark Beckner - Bell Labs
                                              Naperville, Illinois   60566
                                            ihnp4!ihuxx!marks / 312-979-1688
===========================================================================
47c47
< double ceiling[ NOofBRACKETS ][ NOofCLASSES ] = {
---
> double ceiling[ NOofBRACKETS ][ NOofCLASSSES ] = {
83d82
< #ifdef USG
86d84
< #endif
98d95
< #ifdef USG
130,173d126
< #else
< 	if (argc == 1)
< 		{
< 		usage();
< 		exit(1);
< 		} /* end if */
< 	argc--;
< 	argv++;
< 	while (argc > 0)
< 		{
< 		argc--;
< 		if (**argv == '-')
< 			{
< 			(*argv)++;
< 			switch (**argv++) {
< 				case 'e':
< 					sscanf(*argv, "%d", &nexemptions);
< 					break;
< 				case 'g':
< 					sscanf(*argv, "%f", &gross);
< 					break;
< 				case 'n':
< 					++netflag;
< 					break;
< 				case 'p':
< 					if (**argv == 'w') {
< 						payperiods = 52;
< 						j -= MONTHLY;
< 					}
< 					break;
< 				case 's':
< 					if (**argv == 's') {
< 						j -= MARRIED;
< 					}
< 					break;
< 				default :
< 					fprintf(stderr, "tax: bad option\n");
< 					exit(1);
< 			} /* end switch */
< 		} /* end if */
< 	argc--;
< 	argv++;
< 	} /* end while */
< #endif
Technical Details
Message-ID: <533@ihuxx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!linus!decvax!harpo!gummo!whuxlb!pyuxll!eisx!npoiv!npois!hogpc!houxm!ihnp4!ihuxx!marks

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/26/83; site ihuxx.UUCP
Path: arc1-ca.pugleaf.net!utzoo!linus!decvax!harpo!gummo!whuxlb!pyuxll!eisx!npoiv!npois!hogpc!houxm!ihnp4!ihuxx!marks
From: marks@ihuxx.UUCP
Newsgroups: btl.sources,net.sources
Subject: TAX modifications
Message-ID: <533@ihuxx.UUCP>
Date: Thu, 25-Aug-83 10:44:05 EDT
Article-I.D.: ihuxx.533
Posted: Thu Aug 25 10:44:05 1983
Date-Received: Thu, 25-Aug-83 20:21:26 EDT
Organization: BTL Naperville, Il.
Lines: 74