Search Results

Search: Posts Made By: Amresh Dubey
1,585
Posted By Amresh Dubey
ssh help
My below code is erroring out and i am stucked in there.. could any one help please.

SERVER="ABCdb01"
USER="ABC"
OUT="out_${USER}@${SERVER}.log"

typeset -x ARG=$1

print -u2 "OK :log =...
1,384
Posted By Amresh Dubey
help ssh
My below code is erroring out and i am not able to fix it.. could any one help please.

SERVER="ABCdb01"
USER="ABC"
OUT="out_${USER}@${SERVER}.log"

typeset -x ARG=$1

print -u2 "OK :log =...
1,599
Posted By Amresh Dubey
shell function help
SUN os KSH

ERROR_CHK () {

ERR_DATA="$ABC"
if `echo "$ABC" | egrep 'PLS|ERROR|ORA'` ; then
echo "Failed: Can't execute procedure ${PRG_NAME} ERROR found "
return 1
else
echo "Info :...
19,728
Posted By Amresh Dubey
I did like ERROR_CHK () { ...
I did like

ERROR_CHK () {

ERR_DATA="$ABC"
if `echo "$ABC" | egrep 'PLS|ERROR|ORA'` ; then
echo "Failed: Can't execute procedure ${PRG_NAME} ERROR found "
return 1
else
echo "Info :...
19,728
Posted By Amresh Dubey
grep in ksh
I am running on SunOS, KSH

For my script , I want to test if a file contain

'PLS' OR 'ORA' OR 'ERROR'

Can we do it in one line using grep ???

currently i am using something like below. ...
1,669
Posted By Amresh Dubey
ghostdog74 thanks "ghostdog74" you saved my...
ghostdog74
thanks "ghostdog74" you saved my life..
1,669
Posted By Amresh Dubey
camma challenge (in ksh)
Hi Gurus,

I am a starter in ksh scripting

I have a requirment where i need to ucertain that each line contain only 5 occurances of "," (comma) in a CSV file ; I don't want to use perl,is it...
Showing results 1 to 7 of 7

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