Sponsored Content
Top Forums Shell Programming and Scripting Poker: calc profit in tournaments Post 302409434 by rafazz on Thursday 1st of April 2010 06:50:34 AM
Old 04-01-2010
Lately, i was working with 2 files but i was thinking and, why iam I working with 2 files??? Lets take to one file only.

Code:
aa:1000:0
bb:2000:1000
cc:3000:1500
dd:40003000
ee:5000:2000

so.. to maake my profit is only the math the $2-$3. isnt?

Last edited by zaxxon; 04-01-2010 at 08:03 AM.. Reason: use code tags please, ty. last warning
 

2 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Non Profit UNIX Foundation

I'm considering asking Silk Road to pay an attorney to set up a non-profit public UNIX foundation (and perhaps asking the trustee to donate this domain to that non-profit foundation). A public foundation could receive tax deductable contributions and we could use the funds to build some of the... (5 Replies)
Discussion started by: Neo
5 Replies

2. Shell Programming and Scripting

date calc

Hi, I need subtract two date values (which are in day of the year format) and the output would give the remaining days. using the command date +"%j" i would get today's 'day of the year' i.e., > date +"%j" 256 Next, i need to take input of a previous date in the format 09/05/2012 and then... (4 Replies)
Discussion started by: sam_bd
4 Replies
METASYS(8)							    NUT Manual								METASYS(8)

NAME
metasys - Driver for Meta System UPS equipment NOTE
This man page only documents the hardware-specific features of the metasys driver. For information about the core driver, see nutupsdrv(8). SUPPORTED HARDWARE
The metasys driver was written with the "Meta System UPS Protocol Rev.1.12" kindly supplied from Meta System. The driver should support all the common features of the ups models: o HF Line (/2) 1-8 boards o HF Millennium (810, 820) o HF TOP Line (910, 920, 930, 940, 950, 970, 980) o ECO Network (750, 1000, 1050, 1500, 1800, 2000, 2100, 2500, 3000) o ECO (305, 308, 311, 511, 516, 519, 522, SX, SXI) o ally HF (800, 1000, 1250, 1600, 2000, 2500) o Megaline (1250, 2500, 3750, 5000, 6250, 7500, 8750, 10000) CABLING
The needed cable is a standard pin-to-pin serial cable with at least pins 2, 3, and 5 (on DB9 connector) connected. EXTRA ARGUMENTS
This driver supports no extra arguments from ups.conf(5). BUGS
This driver has been tested on Meta System HF Millennium 820 and ally HF 1000 only. Any information about the use of the driver with the other listed UPS are really welcome. AUTHOR
Fabio Di Niro <blaxwan@users.sourceforge.net> SEE ALSO
The core driver: nutupsdrv(8) Internet resources: The NUT (Network UPS Tools) home page: http://www.networkupstools.org/ Network UPS Tools 05/21/2012 METASYS(8)
All times are GMT -4. The time now is 03:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy