vgersh99's solution also removes lines with no "happy" string, so be careful.
I think
is simpler, or equivalently
which can be generalised to remove any number of "happy"s.
I have two files I want to compare, one is a list of variables and the other is a text file COBOL program.
Basically what I want to do is display only those variables that appear in the COBOL program only once. However I would also accept a count of each variable as it appears in the COBOL... (2 Replies)
Hi,
I have a fixed width file in the following format
Sr.No A.No Name
1 2 PPP
3 4 PPP
5 6 TTT
7 8 OOO
9 10 OOO
11 12 OOO
The 3rd column starts at position 10 and ends at 15. I want to count the number of occurances of each Name and output to a file
Example in the... (2 Replies)
Hi. I need to count multiple occurrences of X Y Z in a file in 1 go. At the moment I have the following scripts:
ssh readonly@$ServerIP 'YEAR=xx;DAY=xx;MONTH=xx;LMONTH=xx;for i in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 \
16 17 18 19 20 21 22 23; do cat... (13 Replies)
I have this line in a file
gtgti1/gtgticcrunit1/gtgti_ccrunit_10n/port_arbiter1/port7 = gtgti1/gtgticcrunit1/gtgti_ccrunit_10n/port_arbiter1/port7;
gtgti1/gtgticcrunit1/gtgti_ccrunit_10n/port_arbiter1/np_ing0_head = gtgti1/gtgticcrunit1/gtgti_ccrunit_10n/port_arbiter1/np_ing0_head;
I want... (11 Replies)
Hi,
I have a file with 2500 entries. There are many duplicates,triplicates symbols in my file in the first column and the second column has categories(high/medium/low) . I want to have count for the occurances of each category for each unique symbol
ABC high
ABC high
ABC medium
ABC ... (2 Replies)
I have a file as shown below. I need to count the unique occurrences of numbers in the first and second column only if the third column is <= 10. Otherwise print the corresponding numbers as zero.
Thanks in advance!:)
58 80 40.74
76 80 9.78
76 80 8
12 6 9
30 28 8.23
45 12 ... (13 Replies)
Discussion started by: andreaalex
13 Replies
LEARN ABOUT DEBIAN
ost_ipv6multicastvalidator
ost::IPV6MulticastValidator(3) Library Functions Manual ost::IPV6MulticastValidator(3)NAME
ost::IPV6MulticastValidator -
Class for the function object that validates multicast addresses.
SYNOPSIS
#include <address.h>
Inherits ost::IPV6Validator.
Public Member Functions
IPV6MulticastValidator ()
Constructor.
virtual ~IPV6MulticastValidator ()
Keeps compilers happy...
void operator() (const in6_addr address) const
Application operator.
Detailed Description
Class for the function object that validates multicast addresses.
Implements a specific application operator to validate multicast addresses.
Author:
Federico Montesino p5087@quintero.fie.us.es Validating class specialized for multicast addresses.
Constructor & Destructor Documentation
ost::IPV6MulticastValidator::IPV6MulticastValidator () [inline]
Constructor. Does not deal with any state.
virtual ost::IPV6MulticastValidator::~IPV6MulticastValidator () [inline], [virtual]
Keeps compilers happy...
Member Function Documentation
void ost::IPV6MulticastValidator::operator() (const in6_addraddress) const [virtual]
Application operator. Apply the validation algorithm specific to multicast addresses
Implements ost::IPV6Validator.
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::IPV6MulticastValidator(3)