Search Results

Search: Posts Made By: brdholman
3,687
Posted By brdholman
The reason I had the whole path is to make the...
The reason I had the whole path is to make the script as maintainable as possible. I have to use it in like 16 different places. Here's the declarations.


PLATFORM="SUN"
CURRENT_VERSION="50"...
3,687
Posted By brdholman
$ ls -ld...
$ ls -ld /export/home/qainst01/50/SUN_50_Report.txt
-rw-r--r-- 1 qainst01 other 685 Nov 15 12:36 /export/home/qainst01/50/SUN_50_Report.txt
3,687
Posted By brdholman
2 ftps in script, second won't go to output file
I'm running this on both solaris and hp boxes, ftping from windows, then ftping to an aix machine.
If I run the ftpReportFile by itself, I get info in the ftp_rpt_log. If I run just the 2 ftps...
13,353
Posted By brdholman
Finally found the correct syntax. Other sites...
Finally found the correct syntax. Other sites offered incorrect syntax. FTP_FILE is the remote file and FTP_INPUT is the file you are appending on to it.


ftp -inv ${FTP_SERVER} << EOF_FTP >>...
13,353
Posted By brdholman
ftp append
What is the syntax for an ftp that is appending to the target file? I understand to use the append command, but how do you tell it which source file to append to which target file.


ftpEngine()...
2,977
Posted By brdholman
This is development. I'm in QA. Thanks. ...
This is development. I'm in QA.

Thanks. I'll try looking at that file.
2,977
Posted By brdholman
This comes from another group, so I'll have to...
This comes from another group, so I'll have to ask about that.
2,490
Posted By brdholman
Thank you very much.
Thank you very much.
1,871
Posted By brdholman
It's all in the first column and now getting an...
It's all in the first column and now getting an unmatched '{'. I've been looking for an online resource with examples of functions without much luck. I'm new at this so sorry if this is an...
1,871
Posted By brdholman
Thank you! That may be it. I know it's not in...
Thank you! That may be it. I know it's not in the first column.
1,871
Posted By brdholman
putting ftp in korn function - no longer working
This works if it's not in a function. I pulled it into one and I get syntax error, no mathcing '<'. I have to call it several times and need it to be a function. Any ideas?

function...
2,490
Posted By brdholman
I am working with korn shell and when I put the...
I am working with korn shell and when I put the actual commands into a function, I get an error:
Syntax error at line 43 : `<' is not matched.

Is this due to the '{' characters? I tried putting...
2,977
Posted By brdholman
handling a coredump on HP?
This works for all my normal executions. But on one machine, a coredump is expected on one command. We don't care and know it will always happen, but need to confirm the version info from the start...
2,490
Posted By brdholman
Thank you. I was looking at the -n option with...
Thank you. I was looking at the -n option with QUOTE. I'll try this.
2,490
Posted By brdholman
on unix, ftp to windows...logging in
I am ftp'ing to one of our network drives to pick up a tar file. In the script, it does the ftp, but doesn't pick up the username and password. Do I need to script these a certain way so it knows...
3,776
Posted By brdholman
Thank you. I did not see this in the reference...
Thank you. I did not see this in the reference material I reviewed.
3,776
Posted By brdholman
It's not getting into that loop. I've tested and...
It's not getting into that loop. I've tested and the tc_result file is created correctly and so there are lines that have File in them. However, the counters are not increased and I don't hit my...
3,776
Posted By brdholman
korn shell to bash - statement not working
Everything else seems to be working, but this isn't. Is it the "cat..." that is wrong of the condition? Thanks.


cat tc_result.txt | while read LINE
do
if [ "$LINE" == "*File*" ]
...
5,723
Posted By brdholman
Is there any way to get this error messages to go...
Is there any way to get this error messages to go to the output file?
5,723
Posted By brdholman
This works for all my normal executions. But on...
This works for all my normal executions. But on one machine, a coredump is expected on one command. We don't care, just need to confirm the version info. This is output from the exe:

$ ./Up

...
5,723
Posted By brdholman
Thanks guys. This helps alot.
Thanks guys. This helps alot.
5,723
Posted By brdholman
redirected output not going to file for all cases
I have to confirm that an engine was not able to run. In the output below you see that it indeed got errors, but it didn't send those messages to the output file. When I run the same thing with a...
4,042
Posted By brdholman
And is it possible to run a script that calls...
And is it possible to run a script that calls another script 2 directories above, but still refer to a child directory of the original one?

top directory
|
V
SBCS directory
|
V
...
4,042
Posted By brdholman
I am trying to figure out this sourcing stuff,...
I am trying to figure out this sourcing stuff, but can't find documentation for it online.

Where does this look

. ../script.sh (parent directory?)

versus this

. ./script.sh (current...
3,637
Posted By brdholman
No, the continue doesn't. I was using it as a...
No, the continue doesn't. I was using it as a place holder. Thanks.
Showing results 1 to 25 of 26

 

Featured Tech Videos

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