07-02-2012
@Spacebar..
we dont know which one will be in the file ..it is either A756 or B234 or C987
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone,
Can anyone guide me on how to search through a huge file and look on specific column and if it finds a discrepancy on that column that does not conform to the specified criteria,
ie
(1) Numeric and (3) alpha chars F123 or G333..etc, etc!
then idientify it and redirect... (3 Replies)
Discussion started by: Gerry405
3 Replies
2. Shell Programming and Scripting
Hi Friends,
I have a file with the following values..
xyz.txt,12345.xml
abc.txt,04567.xml
cde.txt,12134.xml
I would like to extract all the 2nd column values twice as shown in the example like
12345,12345.xml
04567,04567.xml
12134,12134.xml
Please advice!!
In the formus one of... (7 Replies)
Discussion started by: techmoris
7 Replies
3. Shell Programming and Scripting
Hi all,
I am working on a small prog..
i have a file.txt which contains random data...
K LINES V4 ADD CODE `COMPANY` ADD CODE `DISTRIBUTOR` SEQ NAME^K LINES V5 SEQ NAME^K LINES V6 ADD `PACK-LDATE` SEQ NAME^K^KCOMMAND END^KHEADINFO... (1 Reply)
Discussion started by: mukeshguliao
1 Replies
4. Shell Programming and Scripting
Hello,
I am new to shell
I have a folder which contains a list of files, all the files contain the separator :
I need to replace this character for all the filenames (by batch)
ex: hello:world should become hello-world
please help
Thanks (3 Replies)
Discussion started by: sikilaklak
3 Replies
5. Shell Programming and Scripting
Hello
I am making a script where I need to rename the files but with different names.The file name could be change according to the product
I made a logic but that is not working properly
arr=$(echo a@b@c | tr "@" "\n")
echo $arr
output is a b c
arry=$(echo d@e@f | tr "@" "\n")
... (4 Replies)
Discussion started by: anuragpgtgerman
4 Replies
6. Shell Programming and Scripting
Dear all,
I have a specific problem that i cannot solve and I hope someone here can help me. :)
I have two text files with one column of values.
Example:
File1:
67
94
95
.
.
File2
0.1
0.003
0.5
.
. (3 Replies)
Discussion started by: Higgo
3 Replies
7. Shell Programming and Scripting
Dear all,
I have a problem that i cannot solve and I hope someone here can help me.
I have a huge tab delimited text file with two columns in relation. The values in the first column can be redundant and one copy of that value can exist in the second column.
My question is how to simplify... (5 Replies)
Discussion started by: Higgo
5 Replies
8. Shell Programming and Scripting
I have a specific set (all ending with .bam) of downloaded files in a directory /home/cmccabe/Desktop/NGS/API/2-15-2016. What I am trying to do is use a match to $2 in name to rename the downloaded files. To make things a more involved the date of the folder is unique and in the header of name... (1 Reply)
Discussion started by: cmccabe
1 Replies
9. Shell Programming and Scripting
I am trying to rename all text files in a directory that match a pattern. The current command below seems to be using the directory path in the name and since it already exists, will not do the rename. I am not sure what I am missing? Thank you :).
Files to rename in... (3 Replies)
Discussion started by: cmccabe
3 Replies
10. Shell Programming and Scripting
I am trying to use awk to change a specific string in a field, if it is found, to another value. In the tab-delimited file the text in bold in $3 contains the string 23, which is always right before a ., if it is present.
I am trying to change that string to X, keeping the formatting and the... (3 Replies)
Discussion started by: cmccabe
3 Replies
LEARN ABOUT OSF1
xchangedevicedontpropagatelist
XChangeDeviceDontPropagateList(3X11) XChangeDeviceDontPropagateList(3X11)
NAME
XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList - query or change the dont-propagate-list for extension devices
SYNOPSIS
XChangeDeviceDontPropagateList(display, window, count, event_list, mode)
Display *display;
Window *window;
int *count;
XEventClass *event_list;
int mode;
XEventClass *XGetDeviceDontPropagateList(display, window, count)
Display *display;
Window *window;
int *count;
ARGUMENTS
Specifies the connection to the X server. Specifies the window whose dont-propagate-list is to be queried or modified. Specifies a
pointer to a list of event classes. Specifies the mode. You can pass AddToList, or DeleteFromList. Specifies the number of event classes
in the list.
DESCRIPTION
The XChangeDeviceDontPropagateList request modifies the list of events that should not be propagated to ancestors of the event window. This
request allows extension events to be added to or deleted from that list. By default, all events are propagated to ancestor windows. Once
modified, the list remains modified for the life of the window. Events are not removed from the list because the client that added them has
terminated.
Suppression of event propagation is not allowed for all input extension events. If a specified event class is one that cannot be sup-
pressed, a BadClass error will result. Events that can be suppressed include DeviceKeyPress, DeviceKeyRelease, DeviceButtonPress, Device-
ButtonRelease, DeviceMotionNotify, ProximityIn, and ProximityOut.
XChangeDeviceDontPropagateList can generate a BadDevice, BadClass, or BadValue error.
The XGetDeviceDontPropagateList request queries the list of events that should not be propagated to ancestors of the event window.
XGetDeviceDontPropagateList can generate a BadClass or BadWindow error.
DIAGNOSTICS
An invalid device was specified. The specified device does not exist or has not been opened by this client via XOpenInputDevice. This
error may also occur if some other client has caused the specified device to become the X keyboard or X pointer device via the XChangeKey-
boardDevice or XChangePointerDevice requests. Some numeric value falls outside the range of values accepted by the request. Unless a spe-
cific range is specified for an argument, the full range defined by the argument's type is accepted. Any argument defined as a set of
alternatives can generate this error. An invalid window id was specified. An invalid event class was specified.
SEE ALSO
Programming With Xlib
XChangeDeviceDontPropagateList(3X11)