Dear Guyz:)
I have 2 different input files like this. I would like to pick the values or letters from the inputfile2 based on inputfile1 keys (A,F,N,X,Z).
I have done similar task by using awk but in that case the inputfiles are similar like in inputfile2 (all keys in 1st column and values in... (16 Replies)
Hello People,
I have the following contents in an XML file
...........
...........
..........
...........
<Details = "Sample Details">
<Name>Bob</Name>
<Age>34</Age>
<Address>CA</Address>
<ContactNumber>1234</ContactNumber>
</Details>
...........
.............
.............. (4 Replies)
Hi,
I have a single column of numbers from in tabulated text format ranging from 0 to 1. I want to manipulate the list of numbers so that if the number is greater than 0.5 (> 0.5), I get 1 - number. If the number is less than 0.5, the number is taken as it is and not altered. For example:
... (1 Reply)
Hi All,
I need help for doing the following.
I have a input file like:
aaaaaaaaaabbbbbbbbbbbbbbbbbbbb
cccbbbbbaaaaaadddddaaaabbbbbbb
now I am trying to generate a output csv file where i will have for e.g.
0-3 chars of each line as the first column in the csv, 4-10 chars of the line as... (3 Replies)
Hi, I have a file1 of many long sequences, each preceded by a unique header line. file2 is 3-columns list: headers name, start position, end position. I'd like to extract the sequence region of file1 specified in file2.
Based on a post elsewhere, I found the code:
awk... (2 Replies)
Hello friends,
I have a text file with many columns (no. columns vary from row to row) separated by space. I need to collect all the values from 18th column to the end from each line and group them as pairs and then numbering like below..
1. 18th-col-value 19th-col-value 2. 20th-col-value ... (5 Replies)
Hi,
I have a table to be imported for R as matrix or data.frame but I first need to edit it because I've got several lines with the same identifier (1st column), so I want to sum the each column (2nd -nth) of each identifier (1st column)
The input is for example, after sorted:
K00001 1 1 4 3... (8 Replies)
Dear All,
I have to solve the following problems with multiple tab-separated text file but I don't know how. Any help would be greatly appreciated. I have access to Linux mint (but not as a professional).
I have multiple tab-delimited files with the following structure:
file1:
1 44
2 ... (5 Replies)
Hi, In my previous post ( How to print lines from a files with specific start and end patterns and pick only the last lines? ), i have got a help to get the last select statement from a file, now i need to remove/exclude the output from main file:
Input File format:
SELECT
ABCD,
DEFGH,... (2 Replies)
Below are my custom period start and end dates based on a calender, these dates are placed in a file, for each period i need to split into three weeks for each period row, example is given below.
Could you please help out to achieve solution through shell script..
File content:
... (2 Replies)
Discussion started by: nani2019
2 Replies
LEARN ABOUT OPENSOLARIS
iconv_dhn
iconv_dhn(5) Standards, Environments, and Macros iconv_dhn(5)NAME
iconv_dhn - code set conversion tables for DHN (Dom Handlowy Nauki)
DESCRIPTION
The following code set conversions are supported:
+--------------------------------------------------------------------+
| Code Set Conversions Supported |
+--------------+--------+--------------+--------+--------------------+
| Code |Symbol |Target Code |Symbol | Target Output |
+--------------+--------+--------------+--------+--------------------+
|DHN |dhn |ISO 8859-2 |iso2 | ISO Latin 2 |
+--------------+--------+--------------+--------+--------------------+
|DHN |dhn |MS 1250 |win2 | Windows Latin 2 |
+--------------+--------+--------------+--------+--------------------+
|DHN |dhn |MS 852 |dos2 | MS-DOS Latin 2 |
+--------------+--------+--------------+--------+--------------------+
|DHN |dhn |Mazovia |maz | Mazovia |
+--------------+--------+--------------+--------+--------------------+
CONVERSIONS
The conversions are performed according to the following tables. All values in the tables are given in octal.
DHN to ISO 8859-2
For the conversion of DHN to ISO 8859-2, all characters not in the following table are mapped unchanged.
+-----------------------------------------------------------------+
| | Conversions|Performed | |
| DHN | ISO 8859-2 | DHN | ISO 8859-2 |
|24-177 | 40 |222 |40 |
|200 | 241 |223 |364 |
|201 | 306 |224 |366 |
|202 | 312 |225-230 |40 |
|203 | 243 |231 |326 |
|204 | 321 |232 |334 |
|205 | 323 |233-237 |40 |
|206 | 246 |240 |341 |
|207 | 254 |241 |355 |
|210 | 257 |242 |363 |
|211 | 261 |243 |372 |
|212 | 346 |244-340 |40 |
|213 | 352 |341 |337 |
|214 | 263 |342-365 |40 |
|215 | 361 |366 |367 |
|216 | 363 |367 |40 |
|217 | 266 |370 |260 |
|220 | 274 |371-376 |40 |
|221 | 277 | | |
+---------------+----------------+----------------+---------------+
DHN to MS 1250
For the conversion of DHN to MS 1250, all characters not in the following table are mapped unchanged.
+-----------------------------------------------------------------+
| | Conversions|Performed | |
| DHN | MS 1250 | DHN | MS 1250 |
|200 | 245 |233-237 |40 |
|201 | 306 |240 |341 |
|202 | 312 |241 |355 |
|203 | 243 |242 |363 |
|204 | 321 |243 |372 |
|205 | 323 |244-251 |40 |
|206 | 214 |252 |254 |
|207 | 217 |253-255 |40 |
|210 | 257 |256 |253 |
|211 | 271 |257 |273 |
|212 | 346 |260-340 |40 |
|213 | 352 |341 |337 |
|214 | 263 |342-345 |40 |
|215 | 361 |346 |265 |
|216 | 363 |347-360 |40 |
|217 | 234 |361 |261 |
|220 | 237 |362-365 |40 |
|221 | 277 |366 |367 |
|222 | 40 |367 |40 |
|223 | 364 |370 |260 |
|224 | 366 |371 |40 |
|225-230 | 40 |372 |267 |
|231 | 326 |373-376 |40 |
|232 | 334 | | |
+---------------+----------------+----------------+---------------+
DHN to MS 852
For the conversion of DHN to MS 852, all characters not in the following table are mapped unchanged.
+-----------------------------------------------------------------+
| | Conversions|Performed | |
| DHN | MS 852 | DHN | MS 852 |
|200 | 244 |212 |206 |
|201 | 217 |213 |251 |
|202 | 250 |214 |210 |
|203 | 235 |215 |344 |
|204 | 343 |216 |242 |
|205 | 340 |217 |230 |
|206 | 227 |220 |253 |
|207 | 215 |221 |276 |
|210 | 275 |222-375 |40 |
|211 | 245 | | |
+---------------+----------------+----------------+---------------+
DHN to Mazovia
For the conversion of DHN to Mazovia, all characters not in the following table are mapped unchanged.
+-----------------------------------------------------------------+
| | Conversions|Performed | |
| DHN | Mazovia | DHN | Mazovia |
|200 | 217 |212 |215 |
|201 | 225 |213 |221 |
|202 | 220 |214 |222 |
|203 | 234 |215 |244 |
|204 | 245 |216 |242 |
|205 | 243 |217 |236 |
|206 | 230 |220 |246 |
|207 | 240 |221 |247 |
|210 | 241 |222-247 |40 |
|211 | 206 | | |
+---------------+----------------+----------------+---------------+
FILES
/usr/lib/iconv/*.so conversion modules
/usr/lib/iconv/*.t conversion tables
/usr/lib/iconv/iconv_data list of conversions supported by conversion tables
SEE ALSO iconv(1), iconv(3C), iconv(5)SunOS 5.10 18 Apr 1997 iconv_dhn(5)