05-23-2008
Compare 2 files and output result in pop up window
Need help !
how do i compare 2 files and if there is a difference, output a massage in a pop up window?
the script meant to run using crontab.
10 More Discussions You Might Find Interesting
1. Solaris
Hi,
I have been tasked to migrate a test package my company developed from a Solaris 4 O/S to a new machine running Solaris 8. After many tweaks to paths etc we finally got it running but we have one problem which I am unable to solve.
While the application is running a user selected menu... (0 Replies)
Discussion started by: JustinPyfrom
0 Replies
2. Shell Programming and Scripting
Hi Everyone,
1.txt
00:01:01 asdf
00:33:33 1234
00:33:33 0987
00:33:33 12
00:33:33 444
2.txt
vvvv|ee
444|dd33|ee
dddd|ee
12|ee
3ciur|fdd
the output should be: (6 Replies)
Discussion started by: jimmy_y
6 Replies
3. Solaris
Anyone know of a way to create a pop-up window using X11? I'm not to sure where to start. I just think it would be neat to do. So I was hoping someone out there had documentation on how to go about this, or if I was going to have to write/compile a program to do so.
Thank you!
Adelsin (8 Replies)
Discussion started by: adelsin
8 Replies
4. UNIX Desktop Questions & Answers
Hello,
Is there a way to force each window to popup in the original desktop when using multiple desktops?
The problem is I work on one desktop, then move to another one, and some windows that are loaded in the original desktop pops at the new desktop.
Any idea?
Thanks!
Guy (1 Reply)
Discussion started by: guyov1
1 Replies
5. Solaris
While a search of the forums reveals a great deal of help for some one who wants to run a program on their Solaris box and have it display on their workstation I have a slightly different problem. I want to login via SSH and start a program that will display on the console of the machine I just... (5 Replies)
Discussion started by: saldon
5 Replies
6. Web Development
Dear Sir,
I have got a php mail form code.
Using this code, I want to use the JavaScript for " Thank You " pop-up window in the php form mail code.
Where do I add the pop-up JavaScript for "thank you" ?
My code is as follows:
<?php
//--------------------------Set these... (1 Reply)
Discussion started by: swapan
1 Replies
7. Shell Programming and Scripting
Hello,
I have two files A and B .A file consist of the words that user will put whereas file B consist of all user's LDAP a/c.I want here that if user don't mention LDAP a/c in comment than it will exit otherwise success.
File A.I have a solution that I will modify the file A ...just save the... (9 Replies)
Discussion started by: anuragpgtgerman
9 Replies
8. Shell Programming and Scripting
Hi Friends,
Need Help. I have file1.txt as
File1.txt
|123|A|7267|Hyder|Cross|Sell|7801
|995|A|7051|2008|Lunar|New|Year|Promotion|7801
|996|A|7022|Q108|Targ|Prospect|&|SSCC|Savings|Promo|7801
|997|A|7182|Q1|Feb-Apr|08|Credit|ITA|PA|SBA|Campaign|7801
File2.txt... (7 Replies)
Discussion started by: i150371485
7 Replies
9. Shell Programming and Scripting
Hi Gurus,
I have requirement to compare current result with previous reuslt.
The sample case is below.
1 job1 1
1 job2 2
1 job3 3
2 job_a1 1
2 job_a2 2
2 job_a3 3
3 job_b1 1
3 job_b2 2
for above sample file, GID is group ID, for input line, the job run... (1 Reply)
Discussion started by: ken6503
1 Replies
10. Shell Programming and Scripting
Hi ,
I'm trying to list the files and output is written to a file. But when I execute the command , the output file is being listed. How to exclude it ?
/tmp
file1.txt
file2.txt
ls -ltr |grep -v '-' | awk print {$9, $5} > output.txt
cat output.txt
file1.txt
file2.txt
output.txt (8 Replies)
Discussion started by: etldeveloper
8 Replies
LEARN ABOUT SUSE
glutmenustatusfunc
glutMenuStatusFunc(3GLUT) GLUT glutMenuStatusFunc(3GLUT)
NAME
glutMenuStatusFunc - sets the global menu status callback.
SYNTAX
void glutMenuStatusFunc(void (*func)(int status, int x, int y));
void glutMenuStateFunc(void (*func)(int status));
ARGUMENTS
func The new menu status (or state) callback function.
DESCRIPTION
glutMenuStatusFunc sets the global menu status callback so a GLUT program can determine when a menu is in use or not. When a menu status
callback is registered, it will be called with the value GLUT_MENU_IN_USE for its value parameter when pop-up menus are in use by the user;
and the callback will be called with the value GLUT_MENU_NOT_IN_USE for its status parameter when pop-up menus are no longer in use. The x
and y parameters indicate the location in window coordinates of the button press that caused the menu to go into use, or the location where
the menu was released (may be outside the window). The func parameter names the callback function. Other callbacks continue to operate
(except mouse motion callbacks) when pop-up menus are in use so the menu status callback allows a program to suspend animation or other
tasks when menus are in use. The cascading and unmapping of sub-menus from an initial pop-up menu does not generate menu status callbacks.
There is a single menu status callback for GLUT.
When the menu status callback is called, the current menu will be set to the initial pop-up menu in both the GLUT_MENU_IN_USE and
GLUT_MENU_NOT_IN_USE cases. The current window will be set to the window from which the initial menu was popped up from, also in both
cases.
Passing NULL to glutMenuStatusFunc disables the generation of the menu status callback.
glutMenuStateFunc is a deprecated version of the glutMenuStatusFunc routine. The only difference is glutMenuStateFunc callback prototype
does not deliver the two additional x and y coordinates.
SEE ALSO
glutCreateMenu, glutCreateWindow
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutMenuStatusFunc(3GLUT)