07-31-2008
Filter text
Dears Friends,
Kindly help me with this any idea will be highly appriciated.
Thanks a lot.
Best Regards.
10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hi All
We have got a text file, which has data dumped from 60 tables.
From these 60 tables of data we need data from 4 tables only.
I tried assigning line numbers to filter out data, but it is not working as intended.
below is the sample file
----Table1-----
3,dfs,43,df
4,sd,5,edd... (18 Replies)
Discussion started by: b_sri
18 Replies
2. Shell Programming and Scripting
Hi,
I would like to print a block of text between 2 regular expression using Sed,
This can be achieved by using the command as shown below, however my problem is the same block of text is repeated twice. I would like to eliminate the duplicate block of text.
For Example
If my file... (5 Replies)
Discussion started by: dkumar91
5 Replies
3. Shell Programming and Scripting
hi all,
I have this file with some user data.
example:
$cat myfile.txt
FName|LName|Gender|Company|Branch|Bday|Salary|Age
aaaa|bbbb|male|cccc|dddd|19900814|15000|20|
eeee|asdg|male|gggg|ksgu|19911216|||
aara|bdbm|male|kkkk|acke|19931018||23|
asad|kfjg|male|kkkc|gkgg|19921213|14000|24|... (4 Replies)
Discussion started by: srimal
4 Replies
4. Shell Programming and Scripting
I've got a little problem to solve and can't find a way to solve it. If have text line like the following:
keyword1: text1 keyword2: text2 keyword3: text3
Now I need a script or command, which gives me the text for the corresponding keyword. The text can consist of only one or more words.... (5 Replies)
Discussion started by: frankbullitt78
5 Replies
5. Shell Programming and Scripting
Hello,
Although I have found similar questions, I could not find advice that
could help with our problem.
The issue:
We have several hundreds text files containing repeated blocks of text
(I guess back at the time they were prepared like that to optmize
printing).
The block of texts... (13 Replies)
Discussion started by: samask
13 Replies
6. Shell Programming and Scripting
I need to filter the text in between two patterns and output that to a different file. Please help me how to do it.
Ex:
.............
<some random text>
.............
Pattern_1
<Few lines that need to be output to different file>
Pattern_2
................
...............
<more text in... (4 Replies)
Discussion started by: metturr
4 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I am very now to this, hope you can help,
I am looking into editing a file in Solaris, with dinamic collums (lenght varies) and I need 2 things to be made, the fist is to filter the first column and third column from the file bellow file.txt, and create a new file with the 2 filtered... (8 Replies)
Discussion started by: jpbastos
8 Replies
8. UNIX for Dummies Questions & Answers
Hi Folks,
I have a text file with lots of rows with duplicates in the first column, i want to filter out records based on filter columns in a different filter text file.
bash scripting is what i need.
Data.txt
Name OrderID Quantity
Sam 123 300
Jay 342 498
Kev 78 2500
Sam 420 50
Vic 10... (3 Replies)
Discussion started by: tech_frk
3 Replies
9. UNIX for Dummies Questions & Answers
Hi All
It's me again with another huge txt files. :confused:
What I have:
- I have 33 huge txt files in a folder.
- I have thousands of line in this txt file which contain many the letter "x" in them.
- Some of them have more than one "x" character in the line.
What I want to achieve:... (8 Replies)
Discussion started by: Nexeu
8 Replies
10. Shell Programming and Scripting
Hi
Can someone tell me which script will work best (in terms of speed and simplicity to write and run) for a large text file to filter all the lines with a minimum specified length of words ? A sample script with be definitely of great help !!! Thanks in advance. :) (4 Replies)
Discussion started by: my_Perl
4 Replies
LEARN ABOUT DEBIAN
ost_ipv6mask
ost::IPV6Mask(3) Library Functions Manual ost::IPV6Mask(3)
NAME
ost::IPV6Mask -
Internet addresses used specifically as masking addresses (such as '
255.255.255.0') are held in the IPV6Mask derived object.
SYNOPSIS
#include <address.h>
Inherits ost::IPV6Address.
Public Member Functions
IPV6Mask (const char *mask)
Create the mask from a null terminated ASCII string such as '255.255.255.128'.
Friends
__EXPORT IPV6Host operator& (const IPV6Host &addr, const IPV6Mask &mask)
Masks are usually used to coerce host addresses into a specific router or class domain.
Additional Inherited Members
Detailed Description
Internet addresses used specifically as masking addresses (such as '
255.255.255.0') are held in the IPV6Mask derived object.
The separate class is used so that C++ type casting can automatically determine when an IPV6Address object is really a mask address object
rather than simply using the base class. This also allows manipulative operators for address masking to operate only when presented with a
Masked address as well as providing cleaner and safer source.
Author:
David Sugar dyfet@ostel.com Internet Address Mask such as subnet masks.
Constructor & Destructor Documentation
ost::IPV6Mask::IPV6Mask (const char *mask)
Create the mask from a null terminated ASCII string such as '255.255.255.128'. Parameters:
mask null terminated ASCII mask string.
Friends And Related Function Documentation
__EXPORT IPV6Host operator& (const IPV6Host &addr, const IPV6Mask &mask) [friend]
Masks are usually used to coerce host addresses into a specific router or class domain. This can be done by taking the Inet Host Address
object and 'and'ing it with an address mask. This operation can be directly expressed in C++ through the & operator.
Returns:
a internet host address that has been masked.
Parameters:
addr host address to be masked by subnet.
mask inetnet mask address object to mask by.
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::IPV6Mask(3)