10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Greetings. I know enough Unix to be dangerous (!) and know that there is a clever way to do the following and it will save me about a day of agony (this time) and I will use it forever after! (many days of agony saved in the future)!
I need to find any image files (JPGs, PSDs etc)... (5 Replies)
Discussion started by: Clyde Lovett
2. Shell Programming and Scripting
how can i add spacein file name with sed if strings have no space around dash
( 18-19 )
output after add white space
19 - 20
(18 - 19 )
ABC - EFG
thx in advance (2 Replies)
Discussion started by: mhs
3. UNIX for Advanced & Expert Users
Hi Guys ,
we have one directory ...in that directory all files will be set on each day..
files must have header ,contents ,footer..
i wants to compare the header,contents,footer ..if its same means display an error message as 'files contents same' (7 Replies)
Discussion started by: Venkatesh1
4. Shell Programming and Scripting
I have a very big file 25GB with information present in it like
$ head ind_stats
update index statistics pfirm001.dbo.Office using 200 values
... (11 Replies)
Discussion started by: sam05121988
5. UNIX for Dummies Questions & Answers
our user creates a text file with a white space on the filename. this same file is transfered to unix via automation tool. i have a korn shell script that reads these files on a input directory and connects to oracle database to run the oracle procedures which will load the data from each of the... (2 Replies)
Discussion started by: wtolentino
6. Shell Programming and Scripting
What sed command (if sed is the right command) can remove ALL white space from my file. I have a csv, except I want to remove all white space between commas and characters.
My idea (without testing)
sed 's/ //g'
Is there a better way? (18 Replies)
Discussion started by: mcclunyboy
7. Shell Programming and Scripting
I have a string "disk0 with a trailing white space after it" but I want to get rid of this white space from right to left so that I am left with "disk0" only.
Using sed 's/ $//g' doesn't seem to work
Any ideas ?
Thanks (5 Replies)
Discussion started by: cillmor
8. UNIX for Dummies Questions & Answers
Suppose i have a variable test which stores a string as below:
now i want to use sed on the above variable and replace + with a white space, so that i get
echo $test should give me
'john drives a car'
Between... (1 Reply)
Discussion started by: sandeep_1105
9. Shell Programming and Scripting
I need to compare 2 diff type of files and find out the duplicate after comparing each types of files:
Type 1 file name is like: file1.abc
(the extension abc could any 3 characters but I can narrow it down or hardcode for 10/15 combinations).
The other file is file1.bcd01abc (the extension... (2 Replies)
Discussion started by: ricky007
10. Shell Programming and Scripting
Having a problem with a file..
the file contains the following data... (a snapshot)
It has 3 columns sepreated by a ,
the second column... (7 Replies)
Discussion started by: Zak
MSGUNIQ(1) GNU MSGUNIQ(1)
msguniq - unify duplicate translations in message catalog
msguniq [OPTION] [INPUTFILE]
Unifies duplicate translations in a translation catalog. Finds duplicate translations of the same message ID. Such duplicates are invalid
input for other programs like msgfmt, msgmerge or msgcat. By default, duplicates are merged together. When using the --repeated option,
only duplicates are output, and all other messages are discarded. Comments and extracted comments will be cumulated, except that if
--use-first is specified, they will be taken from the first translation. File positions will be cumulated. When using the --unique
option, duplicates are discarded.
Mandatory arguments to long options are mandatory for short options too.
Input file location:
input PO file
add DIRECTORY to list for input files search
If no input file is given or if it is -, standard input is read.
Output file location:
write output to specified file
The results are written to standard output if no output file is specified or if it is -.
print only duplicates
print only unique messages, discard duplicates
Input file syntax:
input file is in Java .properties syntax
input file is in NeXTstep/GNUstep .strings syntax
encoding for output
use first available translation for each message, don't merge several translations
do not use C escapes in output (default)
use C escapes in output, no extended chars
write PO file even if empty
write the .po file using indented style
do not write '#: filename:line' lines
generate '#: filename:line' lines (default)
write out strict Uniforum conforming .po file
write out a Java .properties file
write out a NeXTstep/GNUstep .strings file
set output page width
do not break long message lines, longer than the output page width, into several lines
generate sorted output
sort output by file location
display this help and exit
output version information and exit
Written by Bruno Haible.
Report bugs to <email@example.com>.
Copyright (C) 2001-2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
The full documentation for msguniq is maintained as a Texinfo manual. If the info and msguniq programs are properly installed at your
site, the command
should give you access to the complete manual.
GNU gettext-tools 0.17 November 2007 MSGUNIQ(1)