Search Results

Search: Posts Made By: robbiegregg
2,476
Posted By robbiegregg
Great Krishmaths I tried what you said and...
Great Krishmaths

I tried what you said and it works a treat. Thanks very much
2,476
Posted By robbiegregg
I hate SED - please help!!
Hi all

I have been googling for ages but with no prevail hence this new thread.

I would like to add a new line after a particular text string. For example, assume the original file contains...
17,039
Posted By robbiegregg
Try the "cat" command
Try the "cat" command
3,446
Posted By robbiegregg
A more intelligent SDIFF
Hi all

I have two files which are essentially the same. However the way an exponent is written is different (i.e. in 1 file, a particular number might be written as 1.43230000E+02 whereas in...
11,970
Posted By robbiegregg
Wow! I'm impressed. Thanks alot - that...
Wow! I'm impressed.

Thanks alot - that certainly did the trick. I appreciate very much your expertise.
11,970
Posted By robbiegregg
Sorry, I seem to be writing the message after you...
Sorry, I seem to be writing the message after you reply!

The output from the FORTRAN file is as followed:

" 41 21 "

(excluding the quote marks)
11,970
Posted By robbiegregg
Forgot to add the code: ...... ...
Forgot to add the code:

......
system("rm runfile")
print "choose_lib",dbfile,libfile,"outf1","outf2" icoord,jcoord > "runfile"
close("runfile")
system("chmod +rwx runfile")
...
11,970
Posted By robbiegregg
Thanks very much for the quick reply. I was...
Thanks very much for the quick reply.

I was wondering if anyone knows how I could you the getline function to read in each record and store in separate variables?

Cheers
11,970
Posted By robbiegregg
Read file from within AWK and save $1 to a variable
Hi

I am very new to NAWK programming so this question is probably going to sound really stupid:

I have a NAWK script which contains a DO loop. During each loop it runs a FORTRAN program which...
3,900
Posted By robbiegregg
Thanks for your suggestion. You're probably...
Thanks for your suggestion. You're probably right about this method using little network bandwidth however I am still a bit hesititant. Also, I think there might be a problem with update latency...
3,900
Posted By robbiegregg
Sending a signal from Unix to Windows
Hi all,

I was wondering if anyone could help me here.

I have got a Unix Server (Solaris 8) which we access over the network from a Windows NT machine using Exceed. The Unix box has Samba...
6,344
Posted By robbiegregg
Thanks VERY much Perderabo. Never used PERL...
Thanks VERY much Perderabo.

Never used PERL before but quite impressed with your comment. I replaced the sleep 1" command with your perl line.

The script now "states" it is using 0.0% of the...
6,344
Posted By robbiegregg
Thanks all, I took Just Ice's advice and...
Thanks all,

I took Just Ice's advice and made a csh script with a sleep of 1 second. It is way more elegant than the FORTRAN program however it would be excellent if the sleep command could use a...
6,344
Posted By robbiegregg
Thanks for your reply. Your idea sounds good...
Thanks for your reply.

Your idea sounds good however I would like to check whether the file is there or not more instantaneously. I don't think you can specify a time of less than a minute with...
6,344
Posted By robbiegregg
Automatically executing a command
Hi

I was wondering if anyone knew the answer to this question?

I am trying to find a way of executing a command if a certain file is created in the same directory.

One way I thought about...
9,025
Posted By robbiegregg
Running a UNIX command from Windows
Hi

I need to run a UNIX command from Visual C++ Windows program.

I was thinking of the Windows program generating a dummy file on the UNIX drive. On the UNIX box I could have a simple FORTRAN...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 05:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy