08-13-2014
Yes you understanding is correct. I just need to change one character in file which comes in ISA 15 segment. Segment delimter is "*".
I have back up of file so no worries
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i currently am using a unix server and NT pc. i have downloaded a ziped file that should explode into 3 seperate unix based files, however when i unzip it using Alading Expander it displays only 1. This exploded version contains all 3 files ( you can scroll down when viewing the file and see the... (1 Reply)
Discussion started by: pixelmonkey
1 Replies
2. UNIX for Dummies Questions & Answers
1 . Thanks everyone who read the post first.
2 . I have a log file which size is 143M , I can not use vi open it .I can not use xedit open it too.
How to view it ?
If I want to view 200-300 ,how can I implement it
3 . Thanks (3 Replies)
Discussion started by: chenhao_no1
3 Replies
3. SCO
Hi,
Can some one provide me with, some good links containing help for file editing and printing in unix.
Regards,
Muhammad Tayyab
Shereen Motor Co. Kuwait (1 Reply)
Discussion started by: tayyabq8
1 Replies
4. UNIX for Dummies Questions & Answers
I have a big file, which vi opens it with message not sufficient space with file system.
I am not adding any data in the file but changing some values within.
To make these changes effective, it asks for forced write (w!), even after doing this,
I see this particular record, change is not... (4 Replies)
Discussion started by: videsh77
4 Replies
5. Shell Programming and Scripting
Hi,
Is there a way to edit BINARY files in Unix.
Or even are there any commands (shellscript/perl) through which I can replace all the occurences of a string inside a BINARY file with another string ?? (1 Reply)
Discussion started by: cool.aquarian
1 Replies
6. UNIX for Dummies Questions & Answers
I have a 5000 line config.log file with several "maybe" errors. Any reccomendations on finding solvable problems? (2 Replies)
Discussion started by: NeedLotsofHelp
2 Replies
7. UNIX for Advanced & Expert Users
Hi ,
I have a requirement to compare 2 files which can contain 40 million or more records and more than 20 fields to compare .
Currently I am using awk scripting , and since awk has a memory issue, I am not able to process file more than 10 million records.
Any suggestions or pointers to... (7 Replies)
Discussion started by: rashmisb
7 Replies
8. HP-UX
Hi,
I am a newbie to the UNIX world. I am asked to edit the file in hexadecimal format and save it. Later I should be able to print the file in char mode.
please anyone tell me how to do that mostly using VI editor. (1 Reply)
Discussion started by: vkudire
1 Replies
LEARN ABOUT OPENDARWIN
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)