i have a text its contain many record, but its written in one line,
i want to remove from that line the duplicate record,
not record have fixed width ex: width = 4
inputfile test.txt =abc cdf abc abc cdf fgh fgh abc abc
i want the outputfile =abc cdf fgh
only those records
can any one help... (4 Replies)
Hi all,
I have a out.log file
CARR|02/26/2006 10:58:30.107|CDxAcct=1405157051
CARR|02/26/2006 11:11:30.107|CDxAcct=1405157051
CARR|02/26/2006 11:18:30.107|CDxAcct=7659579782
CARR|02/26/2006 11:28:30.107|CDxAcct=9534922327
CARR|02/26/2006 11:38:30.107|CDxAcct=9534922327
CARR|02/26/2006... (3 Replies)
Hi all,
I have a text file fileA.txt
DXRV|02/28/2006 11:36:49.049|SAC||||CDxAcct=2420991350
DXRV|02/28/2006 11:37:06.404|SAC||||CDxAcct=6070970034
DXRV|02/28/2006 11:37:25.740|SAC||||CDxAcct=2420991350
DXRV|02/28/2006 11:38:32.633|SAC||||CDxAcct=6070970034
DXRV|02/28/2006... (2 Replies)
Hi,
I have a list of numbers stored in an array as below.
5 7 10 30 30 40 50
Please advise how could I remove the duplicate value in the array ?
Thanks in advance. (5 Replies)
Hi,
I am tryung to use shell or perl to remove duplicate characters
for example , if I have " I love google" it will become I love ggle"
or even "I loveggle" if removing duplicate white space
Thanks
CC (6 Replies)
Input file
data_1 10 US
data_1 2 US
data_1 5 UK
data_2 20 ENGLAND
data_2 12 KOREA
data_3 4 CHINA
.
.
data_60 123 US
data_60 23 UK
data_60 45 US
Desired output file
data_1 10 US
data_1 5 UK
data_2 20 ENGLAND
data_2 12 KOREA (2 Replies)
HI
I have file contains 1000'f of duplicate id's with (upper and lower first character) as below
i/p:
a411532A411532a508661A508661c411532C411532
Requirement: But i need to ignore lowercase id's and need only below id's
o/p:
A411532
A508661
C411532 (9 Replies)
Hi All,
I am storing the result in the variable result_text using the below code.
result_text=$(printf "$result_text\t\n$name") The result_text is having the below text. Which is having duplicate lines.
file and time for the interval 03:30 - 03:45
file and time for the interval 03:30 - 03:45 ... (4 Replies)
Discussion started by: nalu
4 Replies
LEARN ABOUT DEBIAN
audio::mpd::common
Audio::MPD::Common(3pm) User Contributed Perl Documentation Audio::MPD::Common(3pm)NAME
Audio::MPD::Common - common helper classes for mpd
VERSION
version 1.120881
DESCRIPTION
Depending on whether you're using a POE-aware environment or not, people wanting to tinker with mpd (Music Player Daemon) will use either
POE::Component::Client::MPD or Audio::MPD.
But even if the run-cores of those two modules differ completely, they are using the exact same common classes to represent the various mpd
states and information.
Therefore, those common classes have been outsourced to Audio::MPD::Common.
This module does not export any methods, but the dist provides the following classes that you can query with perldoc:
o Audio::MPD::Common::Item
o Audio::MPD::Common::Item::Directory
o Audio::MPD::Common::Item::Playlist
o Audio::MPD::Common::Item::Song
o Audio::MPD::Common::Stats
o Audio::MPD::Common::Status
o Audio::MPD::Common::Time
o Audio::MPD::Common::Types
Note that those modules should not be of any use outside the two mpd modules afore-mentioned.
SEE ALSO
You can look for information on this module at:
o Search CPAN
http://search.cpan.org/dist/Audio-MPD-Common <http://search.cpan.org/dist/Audio-MPD-Common>
o See open / report bugs
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Audio-MPD-Common <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Audio-MPD-Common>
o Git repository
http://github.com/jquelin/audio-mpd-common.git <http://github.com/jquelin/audio-mpd-common.git>
o AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Audio-MPD-Common <http://annocpan.org/dist/Audio-MPD-Common>
o CPAN Ratings
http://cpanratings.perl.org/d/Audio-MPD-Common <http://cpanratings.perl.org/d/Audio-MPD-Common>
You may want to look at the modules really accessing MPD:
o Audio::MPD
o POE::Component::Client::MPD
AUTHOR
Jerome Quelin
COPYRIGHT AND LICENSE
This software is copyright (c) 2007 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-04-01 Audio::MPD::Common(3pm)