09-13-2012
greats it work fine thanks so much
just one more question how to adjust for many files (600) together because this scripts works only for 2 files
thanks again
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Gurus,
I need a help in merging the files.
I have nearly 7 files and the files will have time stamp in it.
I need to merger these files condition is it is not necessary that all the 7 files has to be there.
suppose if i have only 3 files availabe out of these 7 then i need to merge... (3 Replies)
Discussion started by: kumarc
3 Replies
2. Shell Programming and Scripting
Hi all,
I need some help in merging arrays. I have two arrays and using korn shell
Array1
AB23
AB24
Array2
CD00
CD01
CD02
Elements from array 1 should always alternate with elements of arrays 2
i.e the result should look like
AB23CD00
AB24CD01
AB23CD02
Any help is appreciated.... (4 Replies)
Discussion started by: jakSun8
4 Replies
3. Shell Programming and Scripting
Friends,
os: redhat enterprise linux/SCO UNIX5.0
I have two files and I would like to merge on given key value.
Now I have tried with join commd but it does not supporte multiple delimiters.
and if records length is not fixed.
join -a1 5 -a2 1 -t -o file1 file2 > outname
Can any... (7 Replies)
Discussion started by: vakharia Mahesh
7 Replies
4. Shell Programming and Scripting
Hi,
I have got two files
1.txt
1111|apple|
2222|orange|
2.txt
1111|1234|000000000004356|
1111|1234|000000001111|
1111|1234|002000011112|
2222|5678|000000002222|
2222|9102|000000002222|
I need to merge these two so that my out put looks like below:
Search code being used should be... (4 Replies)
Discussion started by: jisha
4 Replies
5. Shell Programming and Scripting
Hi all,
I have 2 files. I want to merge a portion or column in file 2 into file 1.
file 1 - not tab or space delimited
B_1 gihgjfhdj| hgfkddlldjljldjlddl
B_2 gihgjddshjgfhs| hgfkddlldjljldjlddl
B_3 gihgjfhdj| hgfkddlldjljldjlddlhgjdhdhjdhjhdjhdjhgdj
file2 -... (7 Replies)
Discussion started by: Lucky Ali
7 Replies
6. Shell Programming and Scripting
Hi folks.
Could somebody help me write a script or command that will look through a file and for every line that doesn't contain a certain value, merge it with the one above?
For example, the file contains:
SCOTLAND|123|ABC|yes
SCOTLAND|456|DEF|yes
SCOTLAND|78
9|GHI|yes
... (3 Replies)
Discussion started by: MDM
3 Replies
7. Shell Programming and Scripting
Hi,
I have two files and i want to merge it like,
file1.txt
---------
abc
cde
efg
file2.txt
-------
111
222
333
Output file should be,
--------------
abc
111 (2 Replies)
Discussion started by: rbalaj16
2 Replies
8. Shell Programming and Scripting
Hi,
I have searched the forums for a solution but I haven't found a perfect answer, and I'm a bit of a novice, so I hope someone can help:
I have 2 files:
file1:
Chr1 139311 1/1:37,3,0:19
Chr1 139350 1/1:67,6,0:19
Chr1 139404 1/1:0,0,0:7
Chr1 152655 0/1:0,0,0:3
Chr1 152718... (2 Replies)
Discussion started by: ljk
2 Replies
9. Shell Programming and Scripting
I have a total of 100 files (variable size of each file) with total size of 328950 bytes. I want to merge those 100 files into 4 files with each size be close to equal size i.e (328950/4 ~= 82238) but do not want to break any file. Any unix sheel script help will be really helpful. (18 Replies)
Discussion started by: George1234
18 Replies
LEARN ABOUT LINUX
podebconf-display-po
PODEBCONF-DISPLAY-PO(1) po-debconf PODEBCONF-DISPLAY-PO(1)
NAME
podebconf-display-po - display content of a PO file in a debconf interface
SYNOPSIS
podebconf-display-po [-h] [-f FRONTEND] file.po
DESCRIPTION
As with any other localization work, translators should test their translations by running the program they are working on. But this is a
very hard job with complicated configuration scripts because there is no automatic way to have all messages displayed.
The podebconf-display-po program could be called the Poor Man Localization Checker for debconf. It parses a PO file, tries to guess what
the original templates file did look like, and displays messages in a debconf interface.
Of course being root is not mandatory, and there is no interaction between podebconf-display-po and system-wide debconf settings.
OPTIONS
-h, --help
Display a usage summary and exit.
-f, --frontend=FRONTEND
Select an alternate debconf frontend.
CAVEATS
o As podebconf-display-po relies on "debconf" to display questions, your environment must be setup to display localized questions in the
language of the PO file. If you want to check a translation in another language, you need to temporarily change your settings, e.g.
$ LANGUAGE=de podebconf-display-po de.po
If the PO file cannot be converted into your current encoding, English strings are displayed instead of the localized ones. You then
have to switch to a UTF-8 environment to prevent encoding mismatch.
o Prior to 0.8.3, "po-debconf" did only insert the field name in PO files. But some discussions on mailing-lists showed that text format
does depend on template type, e.g. string and boolean types are different because the former is an open question and user has to enter
some text input, whereas the latter is basically a Yes/No question. Authors have to think about it when writing their templates files,
but translators also have to be aware.
This is achieved when PO files are generated by po-debconf >= 0.8.3, template type is inserted in PO files. With older versions,
podebconf-display-po has a trivial algorithm to determine original template type, and may sometimes be wrong.
o The "dialog" frontend, when based upon "whiptail", traps system signals and thus podebconf-display-po cannot be interrupted by "Ctrl-C"
when using this frontend.
SEE ALSO
debconf(1)
AUTHOR
Denis Barbier <barbier@linuxfr.org>
2010-11-17 PODEBCONF-DISPLAY-PO(1)