10-02-2014
Welcome to the forum Diogo R Jesus.
It would be most helpful if you can post a relevant portion of the input you intend to use, an example of the expected output and lastly but not least, any script showing any efforts you have already tried.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can I insert, say lines 500 - 700 from another file into the current file on the current line (cursor) that I am editing while in vi (AIX).
I know how to insert the entire file but how do you do it when you only need certain lines from a huge file?
I've referenced my Unix Unleash book but... (2 Replies)
Discussion started by: giannicello
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have a string : -
ICFFHASMTAAMPFINCL22082006000002548789632
and i want to add delimiter after certain charater position through a script, eg. ICFFH,ASMTAAMPF,INCL,22082006,000002548789632.
I have tried and am able to achieve it through cut-paste. But i don't want to use cut paste as it... (6 Replies)
Discussion started by: divz
6 Replies
3. Shell Programming and Scripting
Hi,
I'm trying to insert double quotes right after the third delimiter in a file. Delimiter is ^Z.
For example:
Input:
Oct ^Z 1234 ^Z John ^Z Hello!"
Desired Output:
Oct ^Z 1234 ^Z John ^Z "Hello!"
Any ideas? (1 Reply)
Discussion started by: kangaroo
1 Replies
4. Shell Programming and Scripting
this is utterly embarassing :(
after posting here i revisited my files and found that when i used "vi" instead of a gui based editor, i suddenly found that the indentations were in fact wrong :(
sorry about this :( (0 Replies)
Discussion started by: mocca
0 Replies
5. Shell Programming and Scripting
I have 5 column in sample txt file
where in i have to create report based upon 1,3 and 5 th column..
I have : in first and third coulmn. But I want to retain the colon of fifth coulmn and remove the colon of first column..
5th column contains String message (for example,... (7 Replies)
Discussion started by: Shirisha
7 Replies
6. Shell Programming and Scripting
I use zentyal for my server admin, which is great but zentyal auto-generates config file on boot and hence overwrites any changes made directly to config files. In order to allow multiple user access to a MS ACCESS database, I need to customise the smb.conf file and add the following line to the... (9 Replies)
Discussion started by: barrydocks
9 Replies
7. UNIX for Dummies Questions & Answers
I am curious why the below returns 4 instead of 3
wc -c <<<aaa
Whereasa=aaa;echo ${#a} returns 3.
How to get 3 using here -string operator in the above scenario
Thanks (2 Replies)
Discussion started by: pandeesh
2 Replies
8. Shell Programming and Scripting
Hi
Am using ksh shell
I have a file like
XYSDHY read write; permission; complete;
DEGHLO RTERI dersa; upomxi oidewmiew; jdipowj;Now i need to insert semicolon after the BLOCK LETTER patterns and delete all blank lines.
Now I need the output as
XYSDHY; read write; permission;... (3 Replies)
Discussion started by: Priya Amaresh
3 Replies
9. Shell Programming and Scripting
Hi All,
I have a file with a pipe delimiter. I need to replace the delimiter with html tags.
I managed to get all the delimiters replaced along with first and last but the requirement is that I need to change 7th delimiter with slight change.
File1:
... (2 Replies)
Discussion started by: shash
2 Replies
10. UNIX for Beginners Questions & Answers
Hi Team,
I have a file a1.txt with data as follows.
dfjakjf...asdfkasj</EnableQuotedIDs><SQL><SelectStatement modified='1' type='string'><!
The delimiter string: <SelectStatement modified='1' type='string'><!
dlm="<SelectStatement modified='1' type='string'><!
The above command is... (7 Replies)
Discussion started by: kmanivan82
7 Replies
LEARN ABOUT DEBIAN
xml::tmx::frompo
XML::TMX::FromPO(3pm) User Contributed Perl Documentation XML::TMX::FromPO(3pm)
NAME
XML::TMX::FromPO - Generates a TMX file from a group of PO files
SYNOPSIS
use XML::TMX::FromPO;
my $conv = new XML::TMX::FromPO(OUTPUT => '%f.tmx');
DESCRIPTION
This module can be used to generate TMX files from a group of PO files.
METHODS
The following methods are available:
new
$tmx = new XML::TMX::FromPO();
Creates a new XML::TMX::FromPO object. Please check the COMMON CONFIGURATION section for details on the options.
rec_get_po
TODO: Document method
parse_dir
TODO: Document method
create_tmx
TODO: Document function
clean_tmx
TODO: Document method
COMMON CONFIGURATION
These configuration options can be passed to all methods in the module:
LANG => 'list'
A case insensitive list of regular expression separated by whitespaces that matches the code of the languages that are to be processed.
Defaults to all.
CONVERT => 'iconv -f %t -t utf8 < %f'
A string that contains the command to convert a file (%f) from some charset (%t) to Unicode. If none is specified, the module tries to
use recode(1), if it fails then the module defaults to iconv(1).
OUTPUT => 'x.tmx'
The name of the output file. If none is specified it defaults to the standard output.
DEBUG => 1
Activate debugging information. Defaults to 0.
SEE ALSO
XML::TMX::Writer(3), gettext(1), recode(1), iconv(1)
AUTHOR
Paulo Jorge Jesus Silva, <paulojjs@bragatel.pt>
COPYRIGHT AND LICENSE
Copyright 2003 by Paulo Jorge Jesus Silva
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-06-06 XML::TMX::FromPO(3pm)