Hi Guys,
I have data in a file as follows:
a 1 2 3
b 4 5 6
a 6 7 8
a 4 7 9
b 6 8 5
c 0 8 7
So the number of rows which have data is variable (2 for the first group, one for the second group and three for the third group), but the delimiters between the... (10 Replies)
Hello, there. I have a file that's a horrible, horrible mess. (Basically, it's an export from a firewall config.) The people who generated the file didn't think that putting a newline in the middle of a hostname would ever be a problem. It is.
Here's an example of the stuff in the file:
... (2 Replies)
I have a file that has lines that are deliminated with '^A', but some of the lines go for a few lines and I need those lines to be appended into one line.
All of the lines start with 'low debug' and end with ' " 0 '.
How can I read each line from start to finish without some of the data... (7 Replies)
Hi All,
My file looks like this:
1 2 3
3 4 5
6 7 8
8 7 6
3 4 5
3 6 7
3 4 5
1 2 4
3 4 6
2 4 6
As you can see there are two newlines after the next pattern of numbers begin. (4 Replies)
Hello! This is my first post here.
I have a file with text like:
A</title>
B
C</title>
D
I need to format it to:
AB
CD
I am trying to use sed: sed 's/<//title>\n/ /g' file > newfile
to delete </title> and the newline character, but the file is unchanged because there are... (3 Replies)
Good morning,
I need some help with getting rid of newlines with the output from a MYSQL query and putting the information into the right format that I need.
Here is the script as it is today:
#!/usr/bin/perl
my $uda = system("/opt/incontrol/mysql/bin/mysql -u root -ppassword... (2 Replies)
Hi buddy's
my file are like this:
s.no,name,band,sal
1,"suneel",,10
2,"bargav
sand",,20
30,"
ebdug gil",,4
but i want
s.no,name,band,sal
1,"suneel",,10
2,"bargav sand",,20
30,"ebdug gil",,4
any command or Shell script for this.
please help me it's urgent to implement (33 Replies)
Hi Friends,
I have a data file with new lines.
How to remove the newlines and should be showed in one line.
I tried using the command
tr -d '\n' filename
sed 's/\n//g' file name
Ex: 1 abc hyd is actual record
but in our scenario showing it as
1 abc
hydthis record should be like... (5 Replies)
Discussion started by: victory
5 Replies
LEARN ABOUT REDHAT
idl2eth
IDL2ETH(1) The Ethereal Network Analyzer IDL2ETH(1)NAME
idl2eth - CORBA IDL to Ethereal Plugin Generator
SYNOPSYS
idl2eth filename
DESCRIPTION
idl2eth is a program that takes a user specified CORBA IDL file and generates "C" source code for an Ethereal "plugin".
This resulting file can be compiled as an Ethereal plugin, and used to monitor GIOP/IIOP traffic that is using this IDL.
idl2eth is actually a shell script wrapper for two Python programs.
These programs are:
ethereal_be.py - Contains the main IDL Visitor Class
ethereal_gen.py - Contains the Source Code Generator Class
idl2eth supports heuristic dissection of GIOP/IIOP traffic, and some experimental code for explicit dissection, based on Object Key <->
Repository Id mapping. However, code for heuristic based plugins is generated by default, and users should consider this the preferred
method unless you have some namespace collisions.
OPTIONS
Currently there are no options. idl2eth can be invoked as follows.
1. To write the C code to stdout.
idl2eth <your_file.idl>
eg: idl2eth echo.idl
2. To write to a file, just redirect the output.
idl2eth echo.idl > packet-test.c
ENVIRONMENT
idl2eth will look for ethereal_be.py and ethereal_gen.py in $PYTHONPATH/site-packages/ and if not found, will try the current directory ./
The -p option passed to omniidl (inside idl2eth) indicates where ethereal_be.py and ethereal_gen.py will be searched. This may need tweak-
ing if you place these files somewhere else.
If it complains about being unable to find some modules (eg tempfile.py), you may want to check if PYTHONPATH is set correctly.
eg: PYTHONPATH=/usr/lib/python1.5/
SEE ALSO ethereal(1)NOTES
idl2eth (including ethereal_be.py and ethereal_gen.py) are part of the Ethereal distribution. The latest version of Ethereal can be found
at http://www.ethereal.com.
idl2eth uses omniidl, and IDL parser, and can be found at http://www.uk.research.att.com/omniORB/omniORB.html
TODO
Some of the more important things to do are:
o Improve Explicit dissection code.
o Improve command line options.
o Improve decode algorithm when we have operation name collision.
AUTHORS
Original Author
-------- ------
Frank Singleton <frank.singleton@ericsson.com>
Contributors
------------
0.9.8 2002-03-28 IDL2ETH(1)