Hello Gurus,
I have a text file containing nearly 12,000 tab delimited characters with 4000 rows. If the file size is small, excel can convert the text into coloumns. However, the file that I have is very big. Can some body help me in solving this problem?
The input file example,
... (6 Replies)
Hello,
Is there anyway that I can align a pipe delimited text file by the maxium field length where the field is separated out by pipes for large text files with more than
100,000 rows?
So, far I have searched other forums and google about aligning text files in unix and I have noticed that... (7 Replies)
Hi All,
I have two sets of files with names .dat and .txt. The number of files is really large more than 90000. The files have names like 1.dat, 2.dat,3.dat and so on where as txt files have names like 1.txt, 2.txt, 3.txt and so on
The DAT and TXT files are equal in number. About 90000 each
... (4 Replies)
I have a text file that has three columns. But at the end of the text file, there are trailing lines that have missing second and third columns:
4 0.04972604 KLHL28
4 0.0497332 CSTB
4 0.04979822 AIF1
4 0.04983331 DECR2
4 0.04990344 KATNB1
4
4
4
4
How can I remove the trailing... (3 Replies)
I have a file in which I need to add more columns to based on a key in the first file:
File1
key1,abc,123,
key2,def,456,
key3,ghi,789,
File2
key2,zyx,111,qqq,
key3,yuu,222,www,
key1,pui,333,eee,
key4,xxx,999,rrr,
I would like to create the following output:
Output (1 Reply)
Hello friends
Please help me to display the content of a file in specific aligned manner.
for ex.
the content of the file may be
>$TEST
WELCOME
HI
HELLO
UNIX
SHELL
SCRIPTING
>$
I want to display the content like
.
TEST WELCOME HI
HELLO ... (18 Replies)
Hi all,
I have 2 files:
species-names.txt
Abaca-bunchy-top-virus ((((Abaca-bunchy-top-virus((Babuvirus((Unassigned((Nanoviridae((Unassigned))))
Abutilon-mosaic-virus ((((Abutilon-mosaic-virus((Begomovirus((Unassigned((Geminiviridae((Unassigned))))... (2 Replies)
Hello,
I want to concatenate 2-columns by 2-columns separated by colon. How can I do so? For example, I have a text file containing 6 columns separated by tab. I want to concatenate column 1 and 2; column 3 and 4; column 5 and 6, respectively, and put a colon in between.
input file:
1 0 0 1... (10 Replies)
Dear all,
Pzl let me know what is the syntax for converting the columns format to text as i have lots of values for but when i put these values in xls sheet the values are automatically converted to
and one more question i have is how to call values from shell script into perl script
eg.
... (3 Replies)
I have a large text file in following format
cat input.txt
abc
qwert
qwer
afweferf
wdfwefwe ==> kjhjkwdd
mnmn ==> jkjkjwekj
poiu ==> lklklke
tytyutut ==> olkjmnsmn
I need to align those lines with the characters " ==>" . I dont want to disturb the lines which dont have "==>".
The... (6 Replies)
Discussion started by: ctrld
6 Replies
LEARN ABOUT HPUX
wctrans
towctrans(3C)towctrans(3C)NAME
towctrans(), wctrans() - character transliteration
SYNOPSIS DESCRIPTION
The function transliterates the wide-character code wc using the mapping described by desc. The current setting of the category
should be the same as during the call to that returned the value desc. If the value of desc is invalidated (that is, not
obtained by a call to or desc is invalidated by a subsequent call to that has affected category the result is undefined.
The function is defined for valid character mapping names identified in the current locale. The charclass is a string identify-
ing a generic character mapping name for which codeset-specific information is required. The following character mapping
names are defined in all locales - "tolower" and "toupper". The function returns a value of type which can be used as the
second argument to subsequent calls of The function determines values of according to the rules of the coded character set
defined by character mapping information in the program's locale (category The values returned by are valid until a call to
that modifies the category
APPLICATION USAGE
The strings "tolower" and "toupper" are reserved for the standard mapping names. In the table below, the functions in the left column are
equivalent to the functions in the right column.
The prototypes of these functions are available to applications
if they are:
a. conformant.
b. Compiled with macro with a value >=500.
c. Compiled with macro with a value >= 200112.
RETURN VALUE
If successful, the function returns the mapped value of wc using the mapping described by desc. Otherwise it returns wc unchanged.
The function returns (wchar_t)0 if the given character mapping name is not valid for the current locale (category otherwise it returns a
non-zero object of type that can be used in calls to
ERRORS
The function may fail if:
desc contains an invalid transliteration descriptor.
The function may fail if:
The character mapping name pointed to by
charclass is not valid in the current locale.
AUTHOR
were developed by HP and Mitsubishi Electric Corporation.
SEE ALSO wconv(3C), thread_safety(5).
towctrans(3C)