Compare 2 files and output result in pop up window


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Compare 2 files and output result in pop up window
# 1  
Old 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.
# 2  
Old 05-23-2008
Tools

Take a look at the diff command -- do a man diff to find out more.

As far as a pop-up window, that may be more related to the flavor of unix you are running, the server, and your desktop environment.
I cannot think of a way to make a pop-up window from a cron task, nor do I undersatnd how it would functionally happen since a cron task is a batch automated process not running on any desktop.
# 3  
Old 05-23-2008
Computer Help needed

i'm using sun os 5.6
the system is used on semicondutor equipment.

i've a txt file which i need to check part of the content and hope to have a pop up meassage to alert the operator is the file content is not correct.

FC_constant.txt

reticle transmission : n


FC_constant.txt

reticle transmission : alert with option




output:

pop up window with message: FC error inform EAE


can someone pls advise
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to list files names and sizes in a directory and output result to the file?

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

2. Shell Programming and Scripting

How to compare the current result with previous line result.?

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

3. Shell Programming and Scripting

Compare two files Field by field and output the result in another file

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

4. Shell Programming and Scripting

How to compare two files to get correct result.see example?

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

5. Web Development

Attaching " Thank You " pop-up window in php form mail code

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

6. Solaris

Cause a window to pop-up on a machine remotely

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

7. UNIX Desktop Questions & Answers

Make window pop up in original desktop

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

8. Solaris

Pop-up window using X11

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

9. Shell Programming and Scripting

compare two files, diff the result

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

10. Solaris

Pop up Window Properties

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
Login or Register to Ask a Question