I've got a file with each record on a separate line and each record contains 34 fields separated by a colon and i'm trying to re-arrange the order of the fields and merge together certain fields separated by a slash (like field7/field28). I tried using an awk print statement like
awk -F: 'BEGIN... (5 Replies)
Dear all
I had two separate variable. Now i want to make them merge into one new variable with space between them. Kindly suggest me.
var1=dec 15
var2=10
i want var3=dec 15 10
My main aim is as below:
op of date command:
>date
>Sat Dec 15 10:17:35 IST 2007
i want only Dec... (2 Replies)
how can i merge follwoing process to one...
tail +5 rawdata_AAA_1.txt_$$ | grep -v "^$" >> rawdata_AAA_2.txt_$$ For discarding first 5 rows and deleting null rows
awk '!/^ /{if(a) print a; a=$0}/^ /{print a}' rawdata_AAA_2.txt >> rawdata_AAA_3.txt For merging record if it split into 2 rows... (8 Replies)
Dear Unix experts
I want to define a variable which contains dynmic and static part, daynamic part is the first field.
Sample of data
dddd aaaa sssss 12345
ssss 2323 234234 4242
dddd 3223 34234 54353
ssss 24234 3434 42342
dddd rwrw 423423 werwer
nawk 'BEGIN {FS=" "}{... (4 Replies)
Dear Unix experts
Moved from "Shell Programming and Scripting "
I want to define a variable which contains dynmic and static part, daynamic part is the first field.
Sample of data
dddd aaaa sssss 12345
ssss 2323 234234 4242
dddd 3223 34234 54353
ssss 24234 3434 42342
dddd rwrw 423423... (2 Replies)
I have input like
Unload: 2610000
225 2198
374 315
420 1149
57 2611
595 662
374 820
130 2938
486 2483
397 760
using these values, i need to divide first number with second number, means 225/2198, and using the value i'm trying to sort it. After sort i need first and "Unload" values,... (2 Replies)
Hi all.
This is the content of the text file used for the e-mail:
TM ICP-EDW BILLING REGISTER USAGE BREAKDOWN_01062014.csv
TM_ICP_EDWH_FICL_13062014.TXT
TM_ICP_EDWH_FICL_16062014.TXT
TM_ICP_EDW_Detailed Payment Journal Report_13062014.txt
TM_ICP_EDW_Detailed Payment Journal... (9 Replies)
Hello,
I'm back again looking for your precious help-
This time I need to merge two text files with matching two fields, output only common records with mixed output.
Let's look at the example:
FILE1
56153;AAA0708;3;TEST1TEST1;
89014;BBB0708;3;TEST2TEST2;
89014;BBB0708;4;TEST3TEST3;
... (7 Replies)
Discussion started by: emare
7 Replies
LEARN ABOUT REDHAT
intltool-merge
INTLTOOL-MERGE(8) System Manager's Manual INTLTOOL-MERGE(8)NAME
intltool-merge - merge translated strings into various file types such as XML
SYNOPSIS
intltool-merge [ -v|--version ] [ -h|--help ] [ -q|--quiet ] [ -d|--desktop-style ] [ -k|--keys-style ] [ -o|--oaf-style ] [ -x|--xml-style
] [ -u|--utf8 ] [ -p|--pass-through ] PO_DIRECTORY FILENAME OUTPUT_FILE
DESCRIPTION
Merge translated strings in po files in PO_DIRECTORY with the original application file FILENAME, and output the file OUTPUT_FILE contain-
ing both the original and the localized strings.
Afterwards the application xml file will contain repeated xml-nodes where each one contains one of all translations and a xml:lang
attribute.
OPTIONS -v, --version
Show version information.
-h, --help
Show usage and basic help information.
-q, --quiet
Be quiet while running.
-d, --desktop-style
Merge files in desktop style, which is similar to the Windows .ini file format.
-k, --keys-style
Merge files in the keys style, which is used for metadata.
-x, --oaf-style
Merge files in the oaf style.
-x, --xml-style
Merge files in the XML style, both as attributes and as raw pcdata.
-u, --utf8
Convert all strings to UTF-8 before merging.
-p, --pass-through
Use strings as found in .po files, without conversion (STRONGLY unrecommended with -x).
REPORTING BUGS
Report bugs to http://bugzilla.gnome.org or by sending email to xml-i18n-tools@gnome.org.
AUTHOR
Darin Adler <darin@bentspoon.com>
Kenneth Christiansen <kenneth@gnu.org>
Maciej Stachowiak <mjs@eazel.com>
SEE ALSO intltoolize(8), xml-18n-prepare(8), intltool-extract(8), intltool-update(8)intltool February 14, 2002 INTLTOOL-MERGE(8)