6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I want to combine 2 lines in one
I have a text file
example:
bla123 blo31 xx:yy:zz
->bla43 bli532 00:01:02
bla1237 blo351 aa:ss:dd
->bla433 bli34332 55:10:28
I want the result to be:
bla123 blo31 xx:yy:zz, ->bla43 bli532 00:01:02
bla1237 blo351 aa:ss:dd, ->bla433 bli34332... (3 Replies)
Discussion started by: Petko Meshov
3 Replies
2. Shell Programming and Scripting
Hi,
I have a file like this:
"sdfc@abc.com","arovls","some addr
", "more stuff"
"ssss@email.com","arovls","some addr", "sss"
"edx@email.com","arovls","some addr", "sssdfvv"
"ssss@a55.com","arovls","some addr", "lsdsdgf"
"ssss@0234.com","aro
vls","123
Main", "lSdfv"
I want to... (4 Replies)
Discussion started by: erniel
4 Replies
3. Shell Programming and Scripting
Dear all
i am having text file like
xxx|yyy|1|2|
zzz|rrr|3|4|
www|xxx|><
5|6|><
jjj|kkk|><
8|9><
i want to join two lines which are having ' >< ' by taking only two lines at a stretch ...using awk command
the result output should be
xxx|yyy|1|2|
zzz|rrr|3|4|
www|xxx|5|6|... (2 Replies)
Discussion started by: suryanarayana
2 Replies
4. Shell Programming and Scripting
Hi
I am having text file like this
001|ramu|hno221|><
sheshadripuram|delhi|560061><
002|krishna|hno225|><
newdelhimain|delhi|560061><
i want to combine every two lines as single...line...
i.e
001|ramu|hno221|sheshadripuram|delhi|560061
can u pls help me (3 Replies)
Discussion started by: suryanarayana
3 Replies
5. Shell Programming and Scripting
Hi all,
If I have 4 kind of files , and each file have different date, all of them are flat file and have the same 4 fields
Date|ID|Class|City
english.20060228.dat
02/28/2006|ABC|ENG|San Tomas
02/28/2006|BCD|ENG|San Jone
02/28/2006|AFD|ENG|San Luis
02/28/2006|ADD|ENG|San Mateo
... (3 Replies)
Discussion started by: sabercats
3 Replies
6. UNIX for Dummies Questions & Answers
Hi
I have a file with the records
1 A B C D
2 E F G H
3 I J K L
4 M N O P
In the ouput I want
1 A B C D 2 # F G H
3 I J K L 4 M N O P
How to achieve this? (10 Replies)
Discussion started by: superprg
10 Replies
classes(3U) InterViews Reference Manual classes(3U)
NAME
classes - unique identifiers for catalog-managed objects and component views
SYNOPSIS
#include <Unidraw/classes.h>
DESCRIPTION
Classes for catalog-managed objects, including components, commands, tools, state variables, and transfer functions, must be associated
with mutually-unique class identifiers that can be written onto disk. This allows a creator object to call the appropriate constructor as
part of recreating an object from disk.
Also, there must be a mechanism for creating an appropriate view given a subject; that is, there must be an association between a subject
class and allowable view classes for that subject. This association is established by defining class identifiers for component views.
These identifiers are formed by concatenating the identifier for a given component subject class with an identifier that specifies a ``view
category.'' For example, the class identifier for the PostScript external view of a line component is the concatenation of the identifier
for the line component subject class and POSTSCRIPT_VIEW identifier, which specifies the category of external views for generating Post-
Script. This makes it possible to create an instance of the appropriate PostScript external view subclass given a line component subject.
The class identifiers for the Unidraw base and predefined derived classes are specified in the classes.h include file. Applications that
define new catalog-managed objects or component views should define unique class identifiers in a similar manner. Class identifiers for
catalog-managed objects are simply integers with mnemonic macro definitions, usually the class name in all-uppercase. For example, the
identifier for the LineComp component subject class is
#define LINE_COMP 9030
View class identifiers are specified using the Combine macro, which takes as its first argument the macro definition of the corresponding
component subject identifier; its second argument is an identifier for the view category. The Combine macro itself is then defined with a
mnemonic name. For example, the identifier for the PostScript external view class PSLine (which generates PostScript for the line compo-
nent subject) is defined as
#define PS_LINE Combine(LINE_COMP, POSTSCRIPT_VIEW)
where the POSTSCRIPT_VIEW view category identifier is defined as
#define POSTSCRIPT_VIEW 9103
N.B.: All class identifiers in a given application must be unique.
SEE ALSO
Catalog(3U), Creator(3U)
Unidraw 12 June 1990 classes(3U)