07-12-2007
Small extn to the Previous one
I have Some thing like this
SORT KEY FS-KEY1
###
SORT KEY FS-KEY2
FSKEY3
###
SORT KEY
FS-KEY4
###
Can we get the all the KEY Fields..
It Starts with SORT KEY and the KEY feilds can be in the same line or next line until ### comes
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello All,
Here is the file which I want to edit. The script should look for DB2 and if found then delete all lines related to DB2 connection string. Is there way this can be done using script ?
DB1 =
(DESCRIPTION =
(SDU = 32768
(enable = broken)
(ADDRESS = (PROTOCOL =... (2 Replies)
Discussion started by: deepakc_in
2 Replies
2. Shell Programming and Scripting
Hi Gurus,
I have a file say for ex. file1 which has 3500 lines in it which are different account numbers and another file (file2) which has 230000 lines in it. I want to read all the lines in file1 and delete all those lines from file2 which has that same pattern as in file1. I am not quite... (4 Replies)
Discussion started by: toms
4 Replies
3. Shell Programming and Scripting
In any given file, wherever a certain data block exists I need to concatenate the values(text after each "=" sign) from that block. in that block. The block starts and ends with specific pattern, say BEGIN DS and END DS respectively. The block size may vary. A file will have multiple such blocks.... (12 Replies)
Discussion started by: Prev
12 Replies
4. Shell Programming and Scripting
Hi,
I wasn't quite sure how to title this one! Here goes:
I have some already partially parsed log files, which I now need to extract info from. Because of the way they are originally and the fact they have been partially processed already, I can't make any assumptions on the number of... (8 Replies)
Discussion started by: chrissycc
8 Replies
5. Shell Programming and Scripting
I need to extract multiple occurance strings between 2 different patterns in given line.
For e.g. in below as input
-------------------------------------------------------------------------------------
mike(hussey) AND mike(donald) AND mike(ryan) AND mike(johnson)... (8 Replies)
Discussion started by: sameermohite
8 Replies
6. Shell Programming and Scripting
Hi,
I am trying to extract some patterns from a line. The input file is space delimited and i could not use column to get value after "IN" or "OUT" patterns as there could be multiple white spaces before the next digits that i need to print in the output file . I need to print 3 patterns in a... (3 Replies)
Discussion started by: redse171
3 Replies
7. UNIX for Beginners Questions & Answers
Hello Everyone ,
Iam a newbie to shell programming and iam reaching out if anyone can help in this :-
I have two files
1) Insert.txt
2) partition_list.txt
insert.txt looks like this :-
insert into emp1 partition (partition_name)
(a1,
b2,
c4,
s6,
d8)
select
a1,
b2,
c4, (2 Replies)
Discussion started by: nubie2linux
2 Replies
8. Shell Programming and Scripting
Hello.
For a given folder, I want to select any files find $PATH1 -f \( -name "*" but omit any files like pattern name ! -iname "*.jpg" ! -iname "*.xsession*" ..... \) and also omit any subfolder like pattern name -type d \( -name "/etc/gconf/gconf.*" -o -name "*cache*" -o -name "*Cache*" -o... (2 Replies)
Discussion started by: jcdole
2 Replies
9. UNIX for Beginners Questions & Answers
Hi,
I need help to match patterns from between two different files and extract region of strings.
inputfile1.fa
>l-WR24-1:1
GCCGGCGTCGCGGTTGCTCGCGCTCTGGGCGCTGGCGGCTGTGGCTCTACCCGGCTCCGG
GGCGGAGGGCGACGGCGGGTGGTGAGCGGCCCGGGAGGGGCCGGGCGGTGGGGTCACGTG... (4 Replies)
Discussion started by: bunny_merah19
4 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)