I've been trying to dig myself out of this, but nothing has worked out yet.
I have an input like this:
From this, I want to remove duplicates, not all, but only those that are just above the repeated value. In other words, retain the second repetition, but only if it follows the first occurrence. I want to run this comparison ignoring the values before -, but retaining them in the results.
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)
I have following file content (3 fields each line):
23 888 10.0.0.1
dfh 787 10.0.0.2
dssf dgfas 10.0.0.3
dsgas dg 10.0.0.4
df dasa 10.0.0.5
df dag 10.0.0.5
dfd dfdas 10.0.0.5
dfd dfd 10.0.0.6
daf nfd 10.0.0.6
...
as can be seen, that the third field is ip address and sorted. but... (3 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)
I want to remove the records based on duplicate. I want to remove if two or more records exists with combination fields. Those records should not come once also
file abc.txt
ABC;123;XYB;HELLO;
ABC;123;HKL;HELLO;
CDE;123;LLKJ;HELLO;
ABC;123;LSDK;HELLO;
CDF;344;SLK;TEST
key fields are... (7 Replies)
Hi frinds,
Need your help.
item , color ,desc
==== ======= ====
1,red ,abc
1,red , a b c
2,blue,x
3,black,y
4,brown,xv
4,brown,x v
4,brown, x v
I have to elemnet the duplicate rows on the basis of item.
the final out put will be
1,red ,abc (6 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 ,
I have a pipe seperated file repo.psv where i need to remove duplicates based on the 1st column only. Can anyone help with a Unix script ?
Input:
15277105||Common Stick|ESHR||Common Stock|CYRO AB
15277105||Common Stick|ESHR||Common Stock|CYRO AB
16111278||Common Stick|ESHR||Common... (12 Replies)
Hi,
How can I replace || with space and then remove duplicate from following text?
T111||T222||T444||T222||T555
Thanks in advance (10 Replies)
Discussion started by: tinku981
10 Replies
LEARN ABOUT DEBIAN
filter-mouse
filter-mouse(7) GGI filter-mouse(7)NAME
filter-mouse - Generic mouse event translator
SYNOPSIS
filter-mouse: [<file>]
DESCRIPTION
This filter translates mouse events according to a set of translation rules.
OPTIONS
file The name of the configuration file. If none given, the filter will first look for the file filter/mouse in the user GGI directory
($HOME/.ggi/ on UNIX), then in the base GGI directory if not found.
CONFIGURATION
The translation rules are specified through a simple text file. The following example gives a good idea of the mouse filter usage. A #
marks the rest of the line as a comment.
EXAMPLE
A set of mouse translation rules:
# Syntax is:
# incoming-type [type-specifics] TO outgoing type [type-specifics]
#
# Simulated mouse buttons on the keyboard
#
#KEY modmask modvalue button label symbol TO BUT buttonnumber
KEY 0x0004 0x0004 0xffff 0x000d 0xffff TO BUT 1 # Alt-Enter
KEY 0x0004 0x0004 0xffff 0x0020 0xffff TO BUT 2 # Alt-Space
KEY 0x0004 0x0004 0xffff 0x0008 0xffff TO BUT 3 # Alt-BackSpace
#
# Keyboard-Mouse on the Cursors
#
#KEY modmask modval button label symbol TO REL axis value
KEY 0x0004 0x0004 0xffff 0xe034 0xffff TO REL X -5 # Alt-Left
KEY 0x0004 0x0004 0xffff 0xe035 0xffff TO REL X 5 # Alt-Right
KEY 0x0004 0x0004 0xffff 0xe032 0xffff TO REL Y -5 # Alt-Up
KEY 0x0004 0x0004 0xffff 0xe033 0xffff TO REL Y 5 # Alt-Down
#
# Keyboard mouse on the Numpad
#
KEY 0x0004 0x0004 0xffff 0xe231 0xffff TO REL X -5 # Alt-Num1
KEY 0x0004 0x0004 0xffff 0xe231 0xffff TO REL Y 5 # Alt-Num1
KEY 0x0004 0x0004 0xffff 0xe232 0xffff TO REL Y 5 # Alt-Num2
KEY 0x0004 0x0004 0xffff 0xe233 0xffff TO REL X 5 # Alt-Num3
KEY 0x0004 0x0004 0xffff 0xe233 0xffff TO REL Y 5 # Alt-Num3
KEY 0x0004 0x0004 0xffff 0xe234 0xffff TO REL X -5 # Alt-Num4
KEY 0x0004 0x0004 0xffff 0xe235 0xffff TO BUT 1 # Alt-Num5 - Button
KEY 0x0004 0x0004 0xffff 0xe236 0xffff TO REL X 5 # Alt-Num6
KEY 0x0004 0x0004 0xffff 0xe237 0xffff TO REL X -5 # Alt-Num7
KEY 0x0004 0x0004 0xffff 0xe237 0xffff TO REL Y -5 # Alt-Num7
KEY 0x0004 0x0004 0xffff 0xe238 0xffff TO REL Y -5 # Alt-Num8
KEY 0x0004 0x0004 0xffff 0xe239 0xffff TO REL X 5 # Alt-Num9
KEY 0x0004 0x0004 0xffff 0xe239 0xffff TO REL Y -5 # Alt-Num9
#
# Home the cursor ...
#
KEY 0x0004 0x0004 0xffff 0xE038 0xffff TO ABS X 0 # Alt-Home
KEY 0x0004 0x0004 0xffff 0xE038 0xffff TO ABS Y 0 # Alt-Home
#
# Invert mouse axis
#
#REL modmsk modval axis TO REL axis multiplier
REL 0x0004 0x0004 X TO REL Y -1
REL 0x0004 0x0004 Y TO REL X -1
#
# Accelerate mouse
#
# multiplier treshold higher-speed
REL 0x0004 0x0004 X TO REL X 1 5 4
REL 0x0004 0x0004 Y TO REL Y 1 5 4
#
#
# Invert mouse buttons
BUT 0x0004 0x0004 1 TO BUT 2
BUT 0x0004 0x0004 2 TO BUT 1
libgii-1.0.x 2003-08-11 filter-mouse(7)