02-02-2009
ThisIsAPascalStyleIdentifier -> This_Is_A_Pascal_Style_Identifier
The problem is that amongst these identifiers are those that already are the correct case, and some of the identifiers have substrings like "OK", "HTTP" etc. which obviously shouldn't be separated. Also, I cannot discard the correct identifiers, since they have to be matched to values in an array. This makes it very tricky for me.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
im having trouble doing this:
i have a variable with 2 characters repeating e.g. aababbbaaaababaabbaabbba
is there a way i can search the variable for a's and b's and then change a's to b's and b's to a's?
im guessing its like getting the 1's compliment of the string
im doing this in... (2 Replies)
Discussion started by: vipervenom25
2 Replies
2. Shell Programming and Scripting
Hi,
I want, if a line is more than 80 characters length then put a new line with 4 space after each 80 characters to indent the data at same position.
Input:
200 Geoid and gravity anomaly data of conjugate regions of Bay of Bengal and Enderby Basin: New constraints on breakup and early... (3 Replies)
Discussion started by: srsahu75
3 Replies
3. Shell Programming and Scripting
Can someone help me to write a script / command to read in a file, character by character, replace any unknown ASCII characters with space. then write out the file to a new filename/
Thanks! (1 Reply)
Discussion started by: raghav525
1 Replies
4. Shell Programming and Scripting
Hi All,
I have a big log file i want to delete all characters (between 350th to 450th characters) starting at 350th character position to 450th character position.
please advice or sample code. (6 Replies)
Discussion started by: rajeshorpu
6 Replies
5. Shell Programming and Scripting
I have a huge file and I want to select first 10 charcters and last 2 characters of everyline and than will filter the unique line.
I know, it must be easy bt I am new to unix scripting:)
Ex.
I have file as below and need to e3kbaird and last 2 characters. and than unique records.
... (3 Replies)
Discussion started by: Sanjeev Yadav
3 Replies
6. Shell Programming and Scripting
Hi Experts,
How to sepearate the list digit with letters : with a space from where the letters begins, or other words from where the digits ended.
file
52087mo(enbatl)
52049mo(enbatl)
52085mo(enbatl)
25051mo(enbatl)
The output should be looks like:
52087 mo(enbatl)
52049... (10 Replies)
Discussion started by: rveri
10 Replies
7. Shell Programming and Scripting
Hello,
I do have folders containing having funny strings in their names and one space.
First, I do remove the funny strings and replace the space by an underscore.
find . -name '* *' | while read file;
do
target=`echo "$file" | sed 's/... (2 Replies)
Discussion started by: tempestas
2 Replies
8. Shell Programming and Scripting
Hi,
I have a string wherein i need to replace special characters with backslash and that character.
Ex:
If my string is a=qwerty123@!,
then the new string should be a_new=qwerty123\@\!\,
Thanks (3 Replies)
Discussion started by: temp_user
3 Replies
9. Shell Programming and Scripting
Hi Gurus,
my current code like below:
nawk '{f1 = (NF>1)?$1:""}{print f1, $NF}'|sed -e 's/s(/,/g;s/)//g;s/ *,/,/'|nawk -F"," '{ab}END{for (i in b) if (!(i in a))print i}'
I have file like below. (this is autosys job dependencies)
the job with s() is dependencies, the job without s() is... (10 Replies)
Discussion started by: ken6503
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)