02-19-2015
@sea: That was my first thought as well, but the requestor uses sh, so VLCV=$(expr $VLCV + 1) might be more suitable.
@TiedCone: Please open a new thread for a new request. Where do you get the 50 from?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Depending upon the occurence of string 'xyz', I want to remove -t from the input file.
There is not a fixed length input file.
Any suggestions
Input file:
this is xyz line -t of the data
this is line 2 of -t of the data
xyz this is line 3 of -t the file
this is line xyz of the -t file... (1 Reply)
Discussion started by: hemangjani
1 Replies
2. Shell Programming and Scripting
Hi All,
I want to search the string for vowel's occurence and find the no of occurence of each vowels, Could anyone help me out? This is urgent to me...I m new to Shell programming..
Thanks and Regards,
Nids:b: (4 Replies)
Discussion started by: Nidhi2177
4 Replies
3. Shell Programming and Scripting
Hi Guys,
My first post..:)
Right...I want to move existing files (with some date in their name) currently in $mainftp, to $mainfolder/$foldate/system1.
I'd like to be able to increment date in the for loop? Is this possible or should I use a different technique.
The script return the... (4 Replies)
Discussion started by: SunnyK
4 Replies
4. Shell Programming and Scripting
I need to find the index of last '|' (highlighted in bold) in awk :
|ifOraDatabase.Lastservererr<>0then|iferr_flag<>0then|end if
Please suggest a way... Thanks (5 Replies)
Discussion started by: joyan321
5 Replies
5. Shell Programming and Scripting
Hi,
Can anyone help with the problem below? I need to read all text files (file1, file2, file3) in a loop and find
file1.txt:
file2.txt:
File3.txt: (7 Replies)
Discussion started by: Lenora2009
7 Replies
6. Shell Programming and Scripting
this is my assignment question. i'm supposed to submit it tommorow. can somebody please help me with it?
Do not post homework questions in the main forums. Please post in the homework forum using the correct template. (0 Replies)
Discussion started by: vijjy
0 Replies
7. UNIX for Dummies Questions & Answers
Hi guys,
I like to find the Line number of Nth Occurence of a Search string in a file.
If possible, if it will land the cursor to that particualar line will be great.
Cheers!! (3 Replies)
Discussion started by: mac4rfree
3 Replies
8. Programming
Hello men.
How can i build a simple increment for $a by Xquery such as ?
let $a := 0
for $i in (1 to 10)
let $a := $a + 1
return $a
why a in this loop always is '1'
Thank you for reading, its will really helpful for my job if i can solve this problem :D:D (3 Replies)
Discussion started by: tien86
3 Replies
9. Shell Programming and Scripting
I have a log file which looks like this:
<845185415165:STATUS:5/0:0:0:0:0|ghy59DI5zasldf87asdfamas8df9asd903tGUVSQx4GJVSQ==>
I have to extract DATE and number of times the keyword STATUS is shown on each date.
Input is : <1354625655744:STATUS:5/0:0:0:0:0|ghy59DI5ztGUVSQx4GJVSQ==>... (8 Replies)
Discussion started by: maddyrox
8 Replies
10. Shell Programming and Scripting
I have a long string of hex (from ASN.1 data) where I need to find and change a particular hex value only and increment it. The hex pairs either side (84 and a7) of the value to increment will remain constant.
i.e. "84 <length> <value_to_increment> a7" starting with 00.
So end result:
... (11 Replies)
Discussion started by: securegooner
11 Replies
LEARN ABOUT REDHAT
xtcreateselectionrequest
XtCreateSelectionRequest(3Xt) XT FUNCTIONS XtCreateSelectionRequest(3Xt)
NAME
XtCreateSelectionRequest, XtSendSelectionRequest, XtCancelSelectionRequest - bundle multiple selection conversion requests into a single
request using MULTIPLE target
SYNTAX
void XtCreateSelectionRequest(requestor, selection)
Widget requestor;
Atom selection;
void XtSendSelectionRequest(requestor, selection, time)
Widget requestor;
Atom selection;
Time time;
void XtCancelSelectionRequest(requestor, selection)
Widget requestor;
Atom selection;
ARGUMENTS
requestor Specifies the widget making the request. Must be of class Core or a subclass thereof.
selection Specifies the particular selection desired.
time Specifies the timestamp to be used in making the request.
DESCRIPTION
When XtCreateSelectionRequest is called, subsequent calls to XtGetSelectionValue and XtGetSelectionValueIncremental with the requestor and
selection as specified to XtCreateSelectionRequest will be bundled into a single selection conversion request with multiple targets. The
request is actually initiated by calling XtSendSelectionRequest.
When XtSendSelectionRequest is called with a value of requestor and selection matching a previous call to XtCreateSelectionRequest, a
selection conversion request is actually sent to the selection owner. If a single target request is queued, that request is made. If mul-
tiple targets are queued they are bundled into a single request with the target MULTIPLE using the specified timestamp. As the conversions
are made, the callbacks associated with each XtGetSelectionValue and XtGetSelectionValueIncremental are invoked in turn.
Multi-threaded applications should lock the application context before calling XtCreateSelectionRequest and release the lock after calling
XtSendSelectionRequest to ensure that the thread assembling the reqeuest is safe from interference by another thread assembling a different
request naming the same widget and selection.
When XtCancelSelectionRequest is called, any requests queued since the last call to XtCreateSelectionRequest are cleaned up. Subsequent
calls to XtGetSelectionValue, XtGetSelectionValues, XtGetSelectionValueIncremental, and XtGetSelectionValuesIncremental will not be def-
ered.
SEE ALSO
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
X Version 11 Release 6.6 XtCreateSelectionRequest(3Xt)