Can some please help me? Want to find files over 35 characters in length? I am running HPUX. Would it be possible with find?
Thanks in advance (8 Replies)
Hi All
I am very much in need of help splitting strings based on length in Perl. e.g.,
Input text is :
International NOUN
Corp. NOUN
's POS
Tulsa NOUN
Output I want is :
International I In Int Inte l al nal onal NOUN
Corp. C Co Cor Corp . p. rp. orp. NOUN... (2 Replies)
All,
I can't seem to find exactly what I'm looking for, and haven't had any luck patching things together.
I need to look through a file, and if the record length is not 874, then add 'E' in position 778.
Your help is greatly appreciated. (4 Replies)
Hi,
Whether the following piece of code is placed in the read-only memory of code (text) segment or data segment?
char *a = "Hello";
I am getting two different answers while searching in google :( that's why the confusion is (7 Replies)
i need to write a bash script that recive a list of varuables
kaka pele ronaldo beckham zidane messi rivaldo gerrard platini
i need the program to print the longest word of the list.
word in the output appears on a separate line and word order in the output is in the order Llachsicografi costs.... (1 Reply)
Hi,
I have two files one (abc.txt) is having approx 28k records and another (bcd.txt) on is having 112k records, the length of each files are varried.
I am trying to look up abc.txt file with bcd.txt based on length, where ever abc.txt records are matching with bcd.txt I am successful match... (8 Replies)
Good day, I am a newbie here and thanks for accepting me
I have a task to modify input data where my input data looks like
123|34567|CHINE
1|23|INDIA
34512|21|USA
104|901|INDIASee that my input has two columns with different character length but max length is 5 and minimum length is 0 which... (1 Reply)
I am trying to output a tab-delimited result that uses the data from a tab-delimited file to combine and subtract specific lines.
If $4 matches in each line then the first matching sequential $6 value is added to $2, unless the value is 1, then the original $2 is used (like in the case of line... (3 Replies)
I'm having data like this,
"8955719","186497034","0001","M","3"
"8955719","186497034","0002","M","10"
"8955719","186497034","0003","M","10"
"8955719","186497034","0004","M","3"
"8955723","186499034","0001","M","3"
"8955723","186499034","0002","M","10"
"8955723","186499034","0003","M","10"... (3 Replies)
In the file below I am trying to count the given repeats of A,T,C,G in each string of letters. Each sequence is below the > and it is possible for a string of repeats to wrap from the line above. For example, in the first line the last letter is a T and the next lines has 3 more. I think the below... (10 Replies)
Discussion started by: cmccabe
10 Replies
LEARN ABOUT X11R4
addphseg
ADDPHSEG(3) MBK PHYSICAL FUNCTIONS ADDPHSEG(3)NAME
addphseg - create a physical segment
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "mph.h"
phseg_list *addphseg(ptfig, layer, width, x1, y1, x2, y2, nodename)
phfig_list *ptfig;
char layer;
long width;
long x1, y1, x2, y2;
char *nodename;
PARAMETERS
ptfig Pointer to the figure in which the segment should be added
layer Segment symbolic layer
width Segment symbolic width
x1, y1, x2, y2 Segment endpoints coordinates
nodename Name of the segment
DESCRIPTION
addphseg creates a new segment at the given coordinates, possibly called segname, and adds it to the list of segments pointed to by
ptfig->PHSEG. The new segment is added in front of the list, and becomes itself the list head. The segment name is an optional information,
and does not allow the segment identification. When not needed, this parameter should be set to NULL.
The parameters nodename, layer and width fill respectivly the NAME, LAYER and WIDTH fields of the phseg structure.
x1, y1, x2, y2 are sorted to warranty that the fields X1 and Y1 contain the minimum of, respectivly, x1, x2 and y1, y2, and the X2, Y2
fields the maximum.
The TYPE field is computed by the addphseg function. It will be either VER if x1 equals x2, or HOR if y1 equals y2.
The width is a layer extension that takes place in perpendicular to the segment TYPE.
For a list of valid layers, and details on the structure, see phseg(3).
RETURN VALUE
addphseg returns a pointer to the newly created segment.
ERRORS
"*** mbk error *** illegal addphseg wrong layer code layer in x1, y1, x2, y2"
The layer parameter is out of range, and does not represent a legal symbolic layer. See phseg(3) for a complete list of layers.
"*** mbk error *** illegal addphseg : x1, y1, x2, y2"
The segment coordinates are such that the segment is neither vertical nor horizontal. So it's not a legal symbolic segment.
EXAMPLE
#include "mph.h"
phseg_list *du_seg(pfd, pfs)
phfig_list *pfd, *pfs;
{
phseg_list *ps;
/* names don't matter */
for (ps = pfs->PHSEG; ps != NULL; ps = ps->NEXT)
addphseg(pfd, ps->LAYER, ps->WIDTH, ps->X1, ps->Y1,
ps->X2, ps->Y2, NULL);
}
SEE ALSO mbk(1), phfig(3), phseg(3), delphseg(3).
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM /LIP6 October 1, 1997 ADDPHSEG(3)