The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Monitor your network with GroundWork Monitor Community Edition iBot UNIX and Linux RSS News 0 10-08-2008 11:40 AM
Looking for monitor/top pavelmac UNIX for Dummies Questions & Answers 1 09-27-2005 11:12 PM
How to monitor pty l-roner AIX 2 07-08-2005 10:17 AM
PC monitor mangolinux SUN Solaris 1 02-14-2005 04:58 PM
Sun Monitor Jai UNIX for Dummies Questions & Answers 8 12-13-2001 01:12 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-02-2009
mig8 mig8 is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 6
Monitor: Read from the monitor

Hello,

I would like to write a script that use the display as an input.

In the display there is a list of file. I want to use it as an array and this would be the input in my script. Does somebody know how do I make it?
  #2 (permalink)  
Old 04-02-2009
JerryHone JerryHone is offline
Registered User
  
 

Join Date: Nov 2006
Location: UK
Posts: 178
Can you explain what you mean by "in the display there is a list of files". How did the list of files get there? Did you run another command to get them?
  #3 (permalink)  
Old 04-03-2009
mig8 mig8 is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 6
In my workplace a team works in the same project. So many files are created.

When I want to write something to a file, firstly I ask a list the last modificated files - this is on the monitor with ordial number. I only need to use this number if I want to compile my file because the list creator script uses only one tempfile to save this list (my editor script uses this file).

My problem is that there is ONLY ONE tempfile. So if another colleauge ask another list than the file is changing. It means that sometimes I open not that file what I want.

A solution is that if the editor script wouldn't use the tempfile but uses the monitor as input.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:06 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0