10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Forum.
I have the following script /home/user/EDW_ENV.sh to setup some environment variables as:
##### section 1 PM_HOME #####
export PC_DIR_BASE=/data/informatica/ming
export DIR_ORACLE=/data/sw/apps/oracle/Oracle_scripts
export... (4 Replies)
Discussion started by: pchang
4 Replies
2. Shell Programming and Scripting
Hi i am new to shell script can any one please explain me the code below which is written for execution of python scripts which are located in same folder.
please explain the code line by line
ls *.py > xx
while
do
read myline || break
python $myline
done<xx
Thanks
Mukthyar.... (1 Reply)
Discussion started by: mukthar1255
1 Replies
3. Shell Programming and Scripting
#!/bin/ksh
log=ABCl
log=EFG
log=HIJ
i=0
while <------ what is the meaning of ($i - lt 3)
do
print ${log}
(( i=i+1 ))
done (1 Reply)
Discussion started by: Bperl1967
1 Replies
4. Shell Programming and Scripting
I am trying to figure out what this script does. Can someone help?
delt_file=`diff /transfer/adx/tey_header.txt /transfer/adx/tey_header_yesterdy.txt`
if ] ; then
touch /transfer/adx/lrstb028_ctl2.ctl
else
if test -f "/transfer/adx/lrstb028_ctl2_2.ctl" ; then
touch... (1 Reply)
Discussion started by: chamajid
1 Replies
5. Shell Programming and Scripting
Hi frnds,
one my frnds has given resolution for my problem as below. it working great , but i couldnt understand somethings in the script.
Why ++ operator after the function calling. how these each block working. will each run for each input line sequencially or one block for all the lines... (9 Replies)
Discussion started by: Gopal_Engg
9 Replies
6. Shell Programming and Scripting
Hi expert
Can help me explain this script?
myFile="./File"
myCell=""
while
do
read myCell || break
echo ""
echo "***************************"
echo "$myCell"
echo "***************************"
done < $myFile
this is ksh.
Can help me... (1 Reply)
Discussion started by: vincyoxy
1 Replies
7. Shell Programming and Scripting
Dear Member,
i need help in this script
filename_DD_MM_YYYY_HHMMSS.log
this is the log file format
i need to split this name to three variables
1 variables contain filename
2 variables contain _DD_MM_YYY_
3 variables contains HHMMSS
... (7 Replies)
Discussion started by: dellsh
7 Replies
8. Shell Programming and Scripting
#! /bin/sed -nf
# Remove C and C++ comments, by Brian Hiles (brian_hiles@rocketmail.com)
# Sped up (and bugfixed to some extent) by Paolo Bonzini (bonzini@gnu.org)
# Works its way through the line, copying to hold space the text up to the
# first special character (/, ", '). The original... (1 Reply)
Discussion started by: Priyaranjan
1 Replies
9. Solaris
if
then
ROLLBACK=1 ;
elif
then
echo "Nothing to install!" ;
echo "Exiting." ;
exit 0;
Plz explaing what is the ${1:-0} in if loop?:) (3 Replies)
Discussion started by: ysrikanth
3 Replies
10. Shell Programming and Scripting
dear all,
can anyone help me to explain all the commands in the .profile bourne shell below ? really appreciate ur help. PLEASE.
1
2 # @(#) $Revision: 72.2 $
3
4 # Default user .profile file (/usr/bin/sh initialization).
5
6 # Set up the terminal:
7 if
8 then
9 eval ` tset -s -Q -m... (1 Reply)
Discussion started by: ykchua
1 Replies