Hello,
I figured out what to do in order to make my program do what I want it to do:
vi (gets you to the VIM program)
e: filename.txt (opens up the text file you want to manipulate)
:%g!/searchwords/d (looks for the words you are searching for in your document, and deletes any row that doesn't contain this information)
:w newfilename.txt (saves the information left over (the info you are looking for) as a new text file)
So, let's say this is my newfilename.txt document:
and I have some other text file called othertextfile.txt that looks like this:
and I want my program to go through newfilename.txt and look at all the numbers found in the third column of the first file (1235, 1238, 5793) and output the corresponding 3rd column in the second file, for each one
i.e.
the third column of the first file has the numbers 1235, so it would find 1235 in the second file and output 1235 moreinfo4.
Dear Friends,
I want to create a hash table using the standard Glib header (if possible) so that I can store a structure and keep the hash key(search key) based on a string.
Any example code would be great since I am not able to get the main idea.
best regards
Skull (4 Replies)
I have requirement:
1) Check the record count in table (table in oracle)
2) If records exists generate the file for existing records and wait for some time (Go to sleep mode) and
Again check the record count after 10 min.......... (Loop this process if record count >0).
3) Generate touch... (1 Reply)
Hi All,
In a given directory, I need to list the files present in it in the below given format as a table.
File name Permission Number of Bytes File Type
Telecom1 --w-r-x 1230 Directory
Telecom2 ---x---x---x 450 Device file
Telecom3 ... (7 Replies)
Hi
I am having three oracle databases running in three different machine. their ip address is different. from one of the DB am able to access both the databases.(means am able to select values and insert values in to tables individually.)
I need to fetch some data from DB1 table(say DB1 ip is... (2 Replies)
I have a file like below
Iter 1: Best Model = 10.0 12.0 13.0 17.0 23.3 78.7
Iter 2: Best Model = 10.0 20.0 30.0 40.0 50.0 60.0
Iter 3: Best Model = 27.3 46.3 84.5 23.0 34.5 35.4
etc
I want to use a scipts using csh or awk to select the iteration number and show the numbers in a table... (2 Replies)
hi there, I am trying to create a stored procedure that i can pass the table name to and it will create a table with that name. but for some reason it creates with what i have defined as the variable name . In the case of the example below it creates a table called 'tname'
for example
... (6 Replies)
I am new to this shell scripting....
I have a file which contains list of users. This files get updated when new user comes into the system.
I want to create script which will give a table containing unique list of users. When I say unique, it means script should match table while parsing... (3 Replies)
hi,
i need to copy one table with data into another table,
right now am using
create table table1 as select * from table2
i want the constraints of table1 to be copied to table2 also , can anyone give me some solution to copy the constraints also, now am using oracle 10.2.0.3.0... (1 Reply)
Hello,
I need some help to reformat this table-by-row to matrix?
infile:
site1 A:o,p,q,r,s,t
site1 C:y,u
site1 T:v,w
site1 -:x,z
site2 A:p,r,t,v,w,z
site2 C:u,y
site2 G:q,s
site2 -:o,x
site3 A:o,q,s,t,u,z
site3 C:y
site3 T:v,w,x
site3 -:p,routfile:
SITE o p q r s t v u w x y... (7 Replies)
Bootstrap is great; but we have had some issues with Bootstrapped <tables> (and legacy <fieldset> elements) showing annoying, wayward lines. I solved that problem today with this simple jQuery in the footer:
<script>
$(function(){
$('tr, td, fieldset,... (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT HPUX
xtoverridetranslations
XtOverrideTranslations() XtOverrideTranslations()
Name
XtOverrideTranslations - merge new translations, overriding a widget's existing ones.
Synopsis
void XtOverrideTranslations(w, translations)
Widget w;
XtTranslations translations;
Inputs
w Specifies the widget into which the new translations are to be merged. Must be of class Core or any subclass thereof.
translations
Specifies the compiled translation table to merge in.
Description
XtOverrideTranslations() merges a compiled translation table translations into a widget's internal compiled translation table, replacing
any existing translations that conflict with the new translations. The table translations is not altered by this process. Any "#replace",
"#augment", or "#override" directives in translations are ignored by this function.
Usage
Use XtParseTranslationTable() to convert a string representation of a translation table to the XtTranslations compiled form.
To merge translations into a widget without overriding existing translations where there are conflicts, use XtAugmentTranslations(). To
completely replace a widget's translation table, use XtSetValues() to set a compiled translation table on the widget's
XtNtranslations resource. To remove all of a widget's translations, use XtUninstallTranslations().
Translation tables can also be specified in string from a resource file. By default, specifying a value for the translations resource will
completely replace the existing translations. If the string form of the translation table begins with the directives "#augment" or "#over-
ride", however, then the specified translations will be merged with the widget's existing translations, and new translations that conflict
with existing translations will be ignored or will override the existing translations, respectively.
See AlsoXtAugmentTranslations(1), XtParseTranslationTable(1), XtUninstallTranslations(1).
Xt - Translations and Actions XtOverrideTranslations()