Sponsored Content
Full Discussion: help me out...
Top Forums Shell Programming and Scripting help me out... Post 302227277 by Annihilannic on Thursday 21st of August 2008 01:58:34 AM
Old 08-21-2008
There is an example on the perlop man page which is simpler:

Code:
# Delete (most) C comments.
$program =~ s {
    /\*     # Match the opening delimiter.
    .*?     # Match a minimal number of characters.
    \*/     # Match the closing delimiter.
} []gsx;

 
VICTRONUPS(8)							    NUT Manual							     VICTRONUPS(8)

NAME
victronups - Driver for IMV/Victron UPS unit Match, Match Lite, NetUps NOTE
This man page only documents the hardware-specific features of the the victronups driver. For information about the core driver, see nutupsdrv(8). SUPPORTED HARDWARE
The victronups driver should recognize all Victron models that use a serial protocol at 1200 bps. These include Match Lite, Match and the NetUps line. The Match Lite line may only report a handful of variables. This is usually not a bug - they just don't support anything else. CABLING
If your Victron cable is broken or missing, use this diagram to build a clone: docs/cables/victron.txt EXTRA ARGUMENTS
This driver supports the following optional setting in the ups.conf(5): modelname=name Set model name usd=delay Set delay before shutdown on UPS BUGS
The protocol for this UPS is not officially documented. AUTHOR
Radek Benedikt <benedikt@lphard.cz>, Daniel Prynych <Daniel.Prynych@hornet.cz> 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 VICTRONUPS(8)
All times are GMT -4. The time now is 12:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy