07-03-2012
Thank You so much!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Greetings.
I am struggling with a shell script to make my life simpler, with a number of practical ways in which it could be used. I want to take a standard text file, and pull the 'n'th word from each line such as the first word from a text file.
I'm struggling to see how each line can be... (5 Replies)
Discussion started by: tricky
5 Replies
2. Shell Programming and Scripting
Hi all,
I have a file with lines written somewhat like this.
aaaa
ccc
aa
linux
browse = no
xssxw
cdcedc
dcsdcd
csdw
police
dwed
dwd
browse = no
cdecec (2 Replies)
Discussion started by: vikas027
2 Replies
3. Shell Programming and Scripting
Hi,
The file format is like the following.
timestamp=2008-02-28-23.50.29.550675;category=CONTEXT;audit event=CONNECT;
event correlator=2;
database=CURDOMS;userid=inst3;authid=INST3;
origin node=0;coordinator node=0;
application id=AC122081.FA97.054468155029;application... (2 Replies)
Discussion started by: missyou
2 Replies
4. Shell Programming and Scripting
Hello,
This is my first post on the forums. So I want to start by thanking anyone who is kind enough to read this post and offer advise. I hope to be an active contributor now that I've found these forums.
I have an issue that I figure would be a good first post..
I have 2 text files... (5 Replies)
Discussion started by: efciem
5 Replies
5. Shell Programming and Scripting
File having data in following format :
file name : file.txt
--------------------
111111;name1
222222;name2
333333;name3
I want to read this file so that I can split these into two paramaters i.e. 111111 & name1 into two different variables(say value1 & value2).
i.e val1=11111 &... (2 Replies)
Discussion started by: sjoshi98
2 Replies
6. UNIX for Dummies Questions & Answers
I have a file that has the words I want to find in other files (but lets say I just want to find my words in a single file). Those words are IDs, so if my word is ZZZ4, outputs like aaZZZ4, ZZZ4bb, aaZZZ4bb, ZZ4, ZZZ, ZyZ4, ZZZ4.8 (or anything like that) WON'T BE USEFUL.
I need the whole word... (6 Replies)
Discussion started by: chicchan
6 Replies
7. Shell Programming and Scripting
Hi Experts,
I have a requirement like, I have to search between 2 words (<deviceDetails> and </deviceDetails>) and merge all lines in between into 1 line.
Example:
<deviceDetails><subscriberName>#UNKNOWN#</subscriberName>
<customerNumber>#UNKNOWN#</customerNumber>... (5 Replies)
Discussion started by: satyaatcgi
5 Replies
8. Shell Programming and Scripting
Hi,
I have a sample file as shown below, I am looking for sed or any command which prints the complete word only from the input file.
Ex:
$ cat "sample.log"
I am searching for a word which is present in this file
We can do a pattern search using grep but I need to cut only the word which... (1 Reply)
Discussion started by: mohan_kumarcs
1 Replies
9. Shell Programming and Scripting
Hi,
trying to knock something together to create one line entries based on whether the first word on each line matches a particular value.
eg.
Link,"Name=""Something\something"","Timeout=""1800""",
"Target=""\\thing\thing\thing""","State=""ONLINE""",something,... (0 Replies)
Discussion started by: adamdb
0 Replies
10. UNIX for Beginners Questions & Answers
I am trying to figure out to find word count of each word from my file
sample file
hi how are you
hi are you ok
sample out put
hi 1
how 1
are 1
you 1
hi 1
are 1
you 1
ok 1
wc -l filename is not helping , i think we will have to split the lines and count and then print and also... (4 Replies)
Discussion started by: mirwasim
4 Replies
LEARN ABOUT DEBIAN
intltool-merge
INTLTOOL-MERGE(8) System Manager's Manual INTLTOOL-MERGE(8)
NAME
intltool-merge - merge translated strings into various types of file
SYNOPSIS
intltool-merge [option]... 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 original and localized strings.
If FILENAME is an XML file, OUTPUT_FILE will contain repeated xml nodes, where each node contains one of the localized strings with
"xml:lang" attribute.
OPTIONS
Mode of operation
-b
--ba-style
Merge files in bonobo-activation style, which is used for bonobo servers.
-d
--desktop-style
Merge files in desktop style, which is similar to the Windows .ini file format.
-k
--keys-style
Merge files in keys style, which is used for metadata.
-o
--oaf-style
(OBSOLETE) Same as -b/--ba-style.
-r
--rfc822deb-style
Merge files in RFC 822 style, which is usually used in Debian configuration files.
--quoted-style
Merge files in quoted string style, which just translates any strings within "".
-x
--xml-style
Merge files in standard XML style, both as attributes and as raw pcdata.
Other options
-u
--utf8
Convert all strings to UTF-8 before merging.
-p
--pass-through
Use strings as is in .po files without conversion (STRONGLY unrecommended with -x).
-c
--cache
(TBD)
-q
--quiet
Be quiet while running.
-v
--version
Show version information.
-h
--help
Show usage and basic help information.
FILES
po/.intltool-merge-cache
Cache file generated by intltool-merge, that contains all strings in all po files separated by 1.
REPORTING BUGS
Report bugs to http://bugs.launchpad.net/intltool
AUTHOR
Darin Adler <darin@bentspoon.com>
Kenneth Christiansen <kenneth@gnu.org>
Maciej Stachowiak <mjs@eazel.com>
SEE ALSO
iconv(1), intltoolize(8), intltool-prepare(8), intltool-extract(8), intltool-update(8)
intltool 2003-08-02 INTLTOOL-MERGE(8)