9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I would like to ask about the meaning or purpose of set -e in the script bash, Does it mean if a wrong command in the script it will close or exit the script without continuation thats what happen if i set it in the terminal.
Thanks in advance (3 Replies)
Discussion started by: jao_madn
3 Replies
2. Shell Programming and Scripting
Hi all,
could you please tell me whats this stands
##*_
0##*/
i knew this alone if some more is there please tell me that also. (3 Replies)
Discussion started by: Arunprasad
3 Replies
3. Shell Programming and Scripting
hi all,
i found NAME=${0##*/} in a script.
i given this coomand in my unix box(presently in ksh).
echo ${0##*/} it returned ksh.
the purpose of the above is to return the shell name or more than that.
do you have any more information like this, please share with me.
one more query... (7 Replies)
Discussion started by: Arunprasad
7 Replies
4. Shell Programming and Scripting
#! /bin/bash
USAGE=" | ]
if
then
echo "$USAGE"
exit 1
fi
while getopts lb: OPTION
do
case $(OPTION)in
a) echo Hi there!
exit 2;;
b) echo hello
o) OARG=$OPTARG;;
\?)echo "$USAGE" ;;
exit 2;;
esac
done
shift `expr... (1 Reply)
Discussion started by: nadman123
1 Replies
5. Shell Programming and Scripting
Hi all,
I am unable interpret this code .........
nohup $OPSSHLPATH/mkt_sas_load_cic.sh $db_name $process_id $loc_mm > $OPSLSTPATH/mkt_sas_load_cic.out &
Thanks ....In advance (7 Replies)
Discussion started by: dhananjaysk
7 Replies
6. Shell Programming and Scripting
Can anyone explain meaning of this?
It takes a lot of time to display mail when i type "mail" on prompt.
--------------------------------------------------------
mail: Too many letters, overflowing letters concatenated
--------------------------------------------------------
Regards... (1 Reply)
Discussion started by: abhijeetkul
1 Replies
7. What is on Your Mind?
Looking at the member list, there are alot of interesting names, some unique, some bizarre, and some that are just plain. How did you come by your name? Why did you choose your label?
Me? Well, I wish I could change mine. I chose Google because thats how I stumbled upon this site. I wasn't sure... (66 Replies)
Discussion started by: google
66 Replies
8. Post Here to Contact Site Administrators and Moderators
woofie,
Your posts are being deleted because your use of profanity.
I am close to changing your status to read only.
In fact, if you argue with the mods again, I will ban you from these boards.
Neo (1 Reply)
Discussion started by: Neo
1 Replies
9. Shell Programming and Scripting
Found this piece of code written in ksh. I have no ideas what do the stuff like ${SRF##*\.} do.
SUFFIX=${SRF##*\.}
if ; then
SUFFIX=""
fi
I have encountered similar expressions in other programs also. Any pointers on where to learn more about these... (1 Reply)
Discussion started by: jyotipg
1 Replies