I revised script but when I ran it I did not receive any log. I am not sure what you mean to run it in code tags. I am using a putty session and ssh but I did not get a trace log?
Barb
---------- Post updated at 01:33 PM ---------- Previous update was at 01:27 PM ----------
This is what I revised and it still looped with no log
Moderator's Comments:
Please post in an adequate forum!
Last edited by RudiC; 05-18-2016 at 02:46 PM..
Reason: Corrected code tags / moved thread.
:confused:
I have not written any code in about 15 years. The company I work for has Unix servers and they utilize KSH. The scriptors say that what I want can only be scripted in PERL which on my server they say they cannot get to work. They also tell me that what I want done cannot be... (0 Replies)
for each file if file name like xx*
for each line in a file
if substring(3,6) found in another txt file
output to file-a( filename = orginal file + _a)
else
output to file-b( filename = orginal file + _a)
end
Next Line (4 Replies)
Hello everybody!
I am new to this and I am trying to change a script in an open source program that plots some offset vectors and then calls a postscript viewer. I have commented away the call for the postscript viewer but somehow the script doesn't return to the shell prompt. I cant figure out... (3 Replies)
if {"$my_ext_type" = MAIN]; then
cd $v_sc_dir
Filex.SH $v_so_dir\/$v_fr_file
Can somebody tell me what does this suggest. I am pretty new to unix and
I am getting confused.
What i understood from here is
If we have a file extension name as MAIN
which we have then we change the directory to... (1 Reply)
Hi All,
Please let me know any freeware revision control software name and URL. Any response is highly appreciated.
OS: Solaris 5.10
Thanks,
Naga:cool: (3 Replies)
I have the following script that I use to copy a list of files from one dir to another,
#!/usr/bin/bash
# $1=filename of file with the list of files to copy
# $2=column header for col in list file with filenames (filePath in most cases)
# $3=src dir
# $3=destination dir
FILE_LIST="$1"... (6 Replies)
# watchdog process
mainpid=$$
(sleep 5; kill $mainpid) &
watchdogpid=$!
sleep 100
kill $watchdogpid
The sleep isn't be killed, I want the script to be killed
---------- Post updated at 03:03 AM ---------- Previous update was at 12:04 AM ----------
I just modify the format of my... (1 Reply)
Hi Guys,
I am very new to shell script and I need your help here to write a script. Actually, I have a script abc.sh which don't get terminated itself. So I need to design a script to run this script, save the output to a file, search for a given string in the output and if it exists send those... (11 Replies)