i am running a issue with the way i handel open file in perl
i have the following input file <File1>
i would like too read the full file line by line, extract the first field (ex in the first case D33963)
search for that value in an other file <file2> that king of look like this
(it is a big file with me specific order)
then when i find the value in <file2> i would line the full line of <file1> and full line of file2 to be merge and writen in a output file
this is the code i come with, but for some raison it look like my <file2> is read only once, and start the second search from the point where it found the previous (so forgeting the begining of the file)
this is the output i would like for every record of <file1> if no match i will later write a other output file to track those
I have a file (status.file) of the form:
valueA 3450
valueB -20
valueC -340
valueD 48
I am tailing a data.file, and need to search and modify a value
in status.file...the tail is:
tail -f data.file | awk '{ print $3, ($NF - $(NF-1)) }'
which will produce lines that look like this:
... (3 Replies)
I have a file (DCN.txt) that has about 35000 lines. It looks like:
10004470028
10005470984
10006470301
10007474812
....
I have several other files (a11.txt, a12.txt, a12_1.txt, a13.txt, etc. about 70, each 100 mb large) that have history records like so:
LINE 10005470984 01/06/2010... (13 Replies)
Hi,
I have a file which got only one column and got some keywords. I have another file where the keywords used in the first file are repeated in the second file.
Now I would like to know how many times each keyword from the first file is repeated in the second file.
Request your help on... (1 Reply)
Dear Friends,
I am looking for a shell script to merge input files into one file .. here is my idea:
1st paramter would be outfile file (all input files content)
read all input files and merge them to input param 1
ex: if I pass 6 file names to the script then 1st file name as output file... (4 Replies)
In the below bash a file is downloaded when the program is opened and then that file is searched based on user input and the result is written to a new file.
For example, the bash is opened and the download.txt is downloaded, the user then enters the id (NA04520). The id is used to search... (5 Replies)
Hi everyone,
I am new to Unix and need help writing a script that can ask user for an input, then search that input within a file
I know will have to use the read and grep commands, anyone can give me somewhere to start would help
Task: Write a script to display which volume pool a given... (1 Reply)
Hi Don, this is not homework question. I work for a Credit card company and my development goal this year is to learn Unix. I would love if others can help me get started, thanks.
Hi everyone
I am new to Unix and need help writing a script that can ask user for an input, then search that input... (2 Replies)
Hi I have a CommonTemplateStop.template file . Inside the file i need to replace the variables DepName and CompInsName with the values(Trade and TradeIns) specified in the script. I have written the below .sh script in linux server which will read the .template file and has to replace the 2... (8 Replies)
Hi,
Below is my requirement
File1:
svasjsdhvassdvasdhhgvasddhvasdhasdjhvasdjsahvasdjvdasjdvvsadjhv
vdjvsdjasvdasdjbasdjbasdjhasbdasjhdbjheasbdasjdsajhbjasbjasbhddjb
svfsdhgvfdshgvfsdhfvsdadhfvsajhvasjdhvsajhdvsadjvhasjhdvjhsadjahs
File2:
sdh
hgv
I need a command such that... (8 Replies)
I have a very large file with millions of entries identified by @M. I am using the following script to "extract" entries based on specific strings/patterns:
#!/bin/bash
if ]
then
file=$1
else
echo "Input_file passed as an argument $1 is NOT found."
exit;
fi
MID=(NULL "string-1"... (10 Replies)
Discussion started by: Xterra
10 Replies
LEARN ABOUT HPUX
elographics
elographics(4) Kernel Interfaces Manual elographics(4)NAME
elographics - Elographics input driver
SYNOPSIS
Section "InputDevice"
Identifier "idevname"
Driver "elographics"
Option "Device" "devpath"
...
EndSection
DESCRIPTION
elographics is an Xorg input driver for Elographics touchscreen devices.
The elographics driver functions as a pointer input device, and may be used as the X server's core pointer.
SUPPORTED HARDWARE
E271-2210 and E271-2200 devices are supported. E281-2310 and compatible devices are supported with some features unavailable.
CONFIGURATION DETAILS
Please refer to xorg.conf(5) for general configuration details and for options that can be used with all input drivers. This section only
covers configuration details specific to this driver.
The following driver options are supported:
Option "Device" "string"
The device that is attached to the touchscreen interface. Default is "/dev/ttyS1".
Option "MinX" "integer"
Set the minimum value for the touchscreen X axis. Default is 600.
Option "MaxX" "integer"
Set the maximum value for the touchscreen X axis. Default is 3000.
Option "MinY" "integer"
Set the minimum value for the touchscreen Y axis. Default is 600.
Option "MaxY" "integer"
Set the maximum value for the touchscreen Y axis. Default is 3000.
Option "ScreenNo" "integer"
The screen to attach to the touchscreen when running with multiple screens. Default is screen 0.
Option "PortraitMode" "string"
Set the X/Y axis orientation. The default is "Landscape" but you can rotate clockwise ("Portrait") or counter-clockwise ("Por-
traitCCW").
Option "SwapXY" "boolean"
Swap the X and Y axis on the display. Default is false.
Option "UntouchDelay" "integer"
The period that finger must be released for an untouch event to occur. Default: 5 (50ms).
Option "ReportDelay" "integer"
Delay between report packets. Default: 1 (10ms).
Option "Model" "string"
The touchscreen model. Default: unset. Supported models: "Sunit dSeries".
SEE ALSO Xorg(1), xorg.conf(5), Xserver(1), X(7).
AUTHORS
Authors include:
Patrick Lecoanet
This manpage was written by Lee Maguire on behalf of the Debian Project.
X Version 11 xf86-input-elographics 1.4.1 elographics(4)