I have a text file which represents a http flow like this:
HTTP/1.1 200 OK
Date: Fri, 23 Jan 2009 17:16:24 GMT
Server: Apache
Last-Modified: Fri, 23 Jan 2009 17:08:03 GMT
Accept-Ranges: bytes
Cache-Control: max-age=540
Expires: Fri, 23 Jan 2009 17:21:31 GMT
Vary: Accept-Encoding ... (1 Reply)
i have a string "dfasdfasdfadf"
i want to count the number of times each character is repeated..
For instance, d is repeated 4 times, f is repeated 4 times..
can u give a program in c (1 Reply)
Hello everybody!
I am quit new here and hope you can help me.
Using an awk script I am trying to extract data from several files. The structure of the input files is as follows:
TimeStep parameter1 parameter2 parameter3 parameter4
e.g.
1 X Y Z L
1 D H Z I
1 H Y E W
2 D H G F
2 R... (2 Replies)
Hi Experts,
I want to know the count of specific word in a file. I have almost 600+ files.
So I want to loop thru each file and get the count of the specific word.
Please help me on achieving this...
Many thanks (2 Replies)
Hi i have data like
abchd 124 ldskc aattggcc
each separated by tab space i want to count number of characters in 4th column and print it in new column with tabspace for every line can anyone help me how to do it.
Thanks. (3 Replies)
hi I want to write a script which count the number of subdirectories in the current root directory that contain more than a specified number of files of a specific type. Is there an easy way to do this?
Thanks
Robert (2 Replies)
Hi all, I need help.
I have an input text file (input.txt) like this:
21 GTGCAACACCGTCTTGAGAGG 50
21 GACCGAGACAGAATGAAAATC 73
21 CGGGTCTGTAGTAGCAAACGC 108
21 CGAAAAATGAACCCCTTTATC 220
21 CGTGATCCTGTTGAAGGGTCG 259
Now I need to count A/T/G/C numbers at each character location in column... (2 Replies)
Hi!
I just want to count number of files in a directory, and write to new text file, with number of files and their name
output should look like this,,
assume that below one is a new file created by script
Number of files in directory = 25
1. a.txt
2. abc.txt
3. asd.dat... (20 Replies)
I have a folder named test/ and under that I have multiple directories and in each of the directory I have multiple log files. I want to know how many files exists under each sub directory.
test
|--quanrantine
|--logfile1
|--logfile2
|--spooling
|--logfile1
... (4 Replies)
I want count number of characters / find the length of the 'wc -l' output
This is the command
bash-3.2$ gzcat /home/sid/file1.dat |wc -l
830752
So final out I want is 6 i.e lenght of 830752
I tried with awk
bash-3.2$ gzcat /home/sid/file1.dat |wc -l | awk '{print length ($0)... (3 Replies)
Discussion started by: sidnow
3 Replies
LEARN ABOUT DEBIAN
sofullpath
SoFullPath(3) Coin SoFullPath(3)NAME
SoFullPath -
The SoFullPath class allows examination of hidden children in paths.
SoPath allows only access from the head node to the first node with hidden children, but not any further.
SYNOPSIS
#include <Inventor/SoFullPath.h>
Inherits SoPath.
Inherited by SoTempPath.
Public Member Functions
void pop (void)
SoNode * getTail (void) const
SoNode * getNodeFromTail (const int index) const
int getIndexFromTail (const int index) const
int getLength (void) const
Additional Inherited Members
Detailed Description
The SoFullPath class allows examination of hidden children in paths.
SoPath allows only access from the head node to the first node with hidden children, but not any further.
Since the SoFullPath is derived from SoPath and contains no private data, you can cast SoPath instances to the SoFullPath type. This will
allow you to examine hidden children.
(Actually, you are not supposed to allocate instances of this class at all. It is only available as an 'extended interface' into the
superclass SoPath.)
Member Function Documentation
void SoFullPath::pop (void) [inline]
This method overrides SoPath::pop() to allow clients to get at all the nodes in the path.
Reimplemented from SoPath.
SoNode * SoFullPath::getTail (void) const
This method overrides SoPath::getTail() to allow clients to get the tail node, counting internal path nodes.
Reimplemented from SoPath.
SoNode * SoFullPath::getNodeFromTail (const intindex) const
This method overrides SoPath::getNodeFromTail() to allow clients to get the node positioned index nodes from the tail, counting internal
path nodes.
Reimplemented from SoPath.
int SoFullPath::getIndexFromTail (const intindex) const
This method overrides SoPath::getIndexFromTail() to allow clients to get the child index number for nodes based on their position from the
tail, counting hidden nodes.
Reimplemented from SoPath.
int SoFullPath::getLength (void) const
This method returns the length of the path, counting hidden nodes also.
Reimplemented from SoPath.
Author
Generated automatically by Doxygen for Coin from the source code.
Version 3.1.3 Wed May 23 2012 SoFullPath(3)