Hello I am facing a scenario where I have a file with XML content and I am running shell script over it. But the problem is the XML is getting updated with new services. In the below scenario, my script takes values from the xml file from one service name say ABCD. Since there are multiple, it is... (8 Replies)
I have a list of postal addresses and I need to pull the records that match a list of zip codes in a separate file. The postal addresses are fixed width. The zip code is located in character position 149-157.
Something better than: cat postalfile.txt | grep -f zipcodes.txt
would be great.
$... (8 Replies)
Hi All,
I am new to this forumn as well to the UNIX, I have basic knowledge of UNIX which I studied some years ago, now I have to do some shell scripting to load data into Oracle database using sqlldr utility, whcih I am able to do. I have a requirement where I need to do following operation.
I... (10 Replies)
Hi Guys,
I have a small problem of renaming multiple files. For example I have names of a set of files in one directory like
K2_34625-34675
K7_988963-988983
K12_773882-7734102
and the other set corresponding to the same is
U_P_321_9_3_11.ab1
U_P_322_9_3_11.ab1
U_P_323_9_3_11.ab1
Now... (23 Replies)
Hi all,
I have two .txt file i.e.
First text file:
2
4
1
4
Second text file
2 1.nii.gz
4 334.nii.gz
1 12.nii.gz
4 134.nii.gz
If entry in 1st column of 1st text file matches the 1st column of 2nd text file, then copy the file (name of which is the second column) associated with... (4 Replies)
Hi,
I have a data file xyz.dat similar to the one given below,
2345|98|809||x|969|0
2345|98|809||y|0|537
2345|97|809||x|544|0
2345|97|809||y|0|651
9685|98|809||x|321|0
9685|98|809||y|0|357
9685|98|709||x|687|0
9685|98|709||y|0|234
2315|98|809||x|564|0
2315|98|809||y|0|537... (2 Replies)
I have a LOG file which looks like this
Import started at: Mon Jul 23 02:13:01 EDT 2012
Initialization completed in 2.146 seconds.
--------------------------------------------------------------------------------
--
Import summary for Import item: PolicyInformation... (8 Replies)
Hi,
What is the easiest way to list a directory with 1000s of filenames, grep it for a certain sequence of numbers, and if found to rename the file by the value you are grepping.
eg
The file I am examining will looks like this:
1234
1224343
2324
244
35665
If I am examining a list... (1 Reply)
Hi ,
I am kind of new to shell scripting and found a situation to handle ...
I have few files which will be ftpd in to our sustem , the file names needs to be renamed based on condition.
------------
Eg file names :-
AE_JUNFOR_2013_MTD_2013-04-09-08-30-09.TXT... (6 Replies)
I have two files that contain overlapping positions. i want to put them together each overlapping entries in both files in to a new file (the entries of first file first and the entries of second file next) followed by blank line then next overlapping entries and so on.
input1
chr1 22 ... (10 Replies)
Discussion started by: raj_k
10 Replies
LEARN ABOUT CENTOS
xmtablist
XmTabList(library call) XmTabList(library call)
NAME
XmTabList -- Data type for a tab list
SYNOPSIS
#include <Xm/Xm.h>
XmTabList
DESCRIPTION
XmTabList is the data type for a tab list. A tab list consists of tab stop list entries (XmTabs). Whenever a tab component is encountered
while an XmString is being rendered, the origin of the next X draw depends on the next XmTab. If a tab stop would cause text to overlap,
the x position for the segment is reset to follow immediately after the end of the previous segment.
Tab lists are specified in resource files with the following syntax:
resource_spec: tab WHITESPACE [, WHITESPACE tab ]*
The resource value string consists of one or more tabs separated by commas. Each tab identifies the value of the tab, the unit type, and
whether the offset is relative or absolute. For example:
tab := float [ WHITESPACE units ]
float := [ sign ] [[ DIGIT]*. ]DIGIT+
sign := +
where the presence or absence of sign indicates, respectively, a relative offset or an absolute offset. Note that negative tab values are
not allowed. units indicates the unitType to use as described in the XmConvertUnits reference page.
For example, the following specifies a tab list consisting of a one inch absolute tab followed by a one inch relative tab:
*tabList: 1in, +1in
For resources of type, dimension, or position, you can specify units as described in the XmNunitType resource of the XmGadget, XmManager,
or XmPrimitive reference page.
RELATED
Refer to the Motif Programmer's Guide for more information about tabs and tab lists. XmTabListCopy(3), XmTabListFree(3), XmTabListGet-
Tab(3), XmTabListInsertTabs(3), XmTabListRemoveTabs(3), XmTabListReplacePositions(3), and XmTabListTabCount(3).
XmTabList(library call)