11-02-2011
Quote:
Originally Posted by
Corona688
If it's present in both outputs, then it's taking the first branch in both outputs.
Can you explain it for me..If you dont mine..
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is it possible to redirect errors at the command line when you run the script such as bash scriptname & 2>/dev/null? (1 Reply)
Discussion started by: knc9233
1 Replies
2. UNIX for Advanced & Expert Users
Hi all,
I have the following script:
-------------------------------------------------
#SCRIPT TO CHECK WHO HAS ACCESSED THE LOG/FILE IN PAST 'N' MINUTES, AND MAIL ACCORDINGLY.
MYPATH="/clocal/mqbrkrs/user/mqsiadm/sanjay/"
MAIL_RECIPIENTS="vg517@dcx.com"
Subject="File accessed in last... (6 Replies)
Discussion started by: varungupta
6 Replies
3. Shell Programming and Scripting
I want to do a grep with AND condition.
I have three files.
file1.txt
========
UNIX
......
WINDOWS
........
ORACLE
file2.txt
========
UNIX
.......
WINDOWS
...and many such files in a directory (6 Replies)
Discussion started by: prasperl
6 Replies
4. Shell Programming and Scripting
Hi ,
I have a peculiar problem.
i have an if block like this
if ;
then
echo " todays date is " ${date} >> log_file
echo " file count is " $ count >> log_file
mv filename1 filename 2
else
echo "no files available ">> log_file
fi
the echo statement "no files available " is not... (2 Replies)
Discussion started by: wizardofoz
2 Replies
5. HP-UX
Executed the following if conditions .. and got different results .
only (( )) gave correct o/p with all scenarios .
Can anybody please let me know what is the difference between and ] and ((condition)) when used with if condition.
And why each condition gave different result.
1.... (2 Replies)
Discussion started by: soumyabubun
2 Replies
6. UNIX for Dummies Questions & Answers
Hi
I have 2 files test1 & test2.
Test1 contains :
BSC
AFCN
Test2 contains:
AFCN
I than use the following command :
diff file1 file2
which displays than displays : 2d1
< BSC
Basically I want to confirm that except for "BSC", AFCN is the only word in each file.So when I do a... (6 Replies)
Discussion started by: Prega
6 Replies
7. Shell Programming and Scripting
there are lot of files where in mostly all the file contains 2columnsAl,1
Ail,13
Al,3
Al,1
Al,3
Al,2
Al,3
Al,1
Al,1
Al,1
My requirement is i wanted only the second column of every file as a column ony in the base file... I used paste command... but it is not helping as I'm using while... (7 Replies)
Discussion started by: nikhil jain
7 Replies
8. Shell Programming and Scripting
if
then
echo "Entry Valid : ${x_oug}"
else
echo "Entry Invalid : " 0
fi
In the above code the 3rd line is not working... it does not print anything
I tried following as well .. but no luck!
echo "Entry Valid : ... (13 Replies)
Discussion started by: Chetanz
13 Replies
9. Shell Programming and Scripting
HI
My doubt may be basic one but I need to get it clarified..
When i use "if" condition that checks for many AND, OR logical conditions
like
if ]; then
return 0
fi
Even the if condition fails it returns as zero.. Any clue..
But if i add else condition like
if ]; ... (2 Replies)
Discussion started by: Priya Amaresh
2 Replies
mhub(1) GGI mhub(1)
NAME
mhub - converts LibGII events to mouse protocol or mhub data
SYNOPSIS
mhub [options]
DESCRIPTION
mhub reads pointer events from the LibGII default device and outputs mouse protocol data and/or mhub data to the specified files. The
default device is specified with the GII_INPUT environment variable, see the libgii(7) manual for more info.
OPTIONS
-h displays this help and exit
-v output version information and exit
-d print contents of received events to standard error
-s terminate program when a SIGPIPE signal is received. The default is to ignore SIGPIPE.
-e BUTNR
only generate mhub events for buttons >= BUTNR. The default is 4.
-b FILE
output mhub events to FILE
-2 FILE
output PS/2 format data to FILE
-i FILE
output (serial) IntelliMouse format data to FILE
-m FILE
output MouseSystems format data to FILE
-r FROM TO
remap button FROM to button TO
-w BUTNR
transform wheel up motion to a BUTNR mhub event
-W BUTNR
transform wheel down motion to a BUTNR mhub event
A maximum of 20 mhub event outputs and 20 mouse data outputs are supported. The number of remaps are unlimited and all remaps occur before
any other processing.
Mouse data outputs may all use different protocols.
libgii-1.0.x 2004-10-14 mhub(1)