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
pofileconsistency
POFILECONSISTENCY(1) POFILECONSISTENCY(1)
NAME
POFileConsistency - checks consistency in a collection of PO files
SYNOPSIS
POFileConsistency [OPTION] [...] [FILE] [...]
INTRODUCTION
POFileConsistency checks consistency in a collection of PO files.
COMMAND LINE OPTIONS
--help or -h
show usage instructions
--interactive or -i
interactive mode, iterate though the inconsistencies using a text mode interface; see the Interactive Mode section
--equivalent=file or -e file
load a file with a list of equivalent msgstr for a given msgid; can be used multiple times
--only-empty or -o
only report inconsistencies with at least one of the translations empty
--match=string or -m string
only report inconsistencies if at least one of the files involved contain the given string
--strip-chars=chars or -r chars
remove each of the chars from both msgid and msgstr before checking inconsistencies
INTERACTIVE MODE
In interactive mode you iterate through each of the inconsistencies found. In each prompt you can press Enter to ignore this inconsistency,
a number of a possible translation (1, 2, ...) to change all the translations to that text, 0 to input a text to use in all the
translations, l to add the exception to each of the PO files, or, if you are using at least one equivalents file, a to add the exception to
the first of those files.
PO FILE HEADER DIRECTIVES
POFileConsistency recognizes several PO file header directives. As with all gettext lint tools, these directives are all prefixed with
X-POFile.
X-POFile-IgnoreConsistency: msgid
remove the given msgid from the list of messages to check
X-POFile-ConsistencyAlias: string1 string2
replace all ocorrences of string1 with string2 before checking consistency
CONSISTENCY EQUIVALENTS FILE FORMAT
This files consists of a series of empty line separated blocks. For example:
msgid 1
possible translation 1
possible translation 2
possible translation n
msgid 2
possible translation 1
possible translation 2
possible translation n
MORE INFORMATION
gettext-lint web page: http://gettext-lint.sourceforge.net/
AUTHOR
Pedro Morais.
<morais@kde.org>
08/16/2006 POFILECONSISTENCY(1)