10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Please let me know the meaning for the below statements in shell scripting.
1) exit -99
--------------------------------
2) set prgdir = `pwd`
set runFlag = runFlag:FALSE
-------------------------------------
3) if (-f $prgdir/maillst.eml) then
set distEmail = `cat $prgdir/maillst.eml`... (1 Reply)
Discussion started by: lg123
1 Replies
2. Shell Programming and Scripting
While going through the below perl code, there is a line
which contains
$sheet -> {MaxRow} ||= $sheet -> {MinRow};
Could anyone please explain the meaning of ||= and where it is used
complete code
---------------
foreach my $sheet (@{$excel -> {Worksheet}}) {
... (2 Replies)
Discussion started by: giridhar276
2 Replies
3. Programming
Hi,
plz see the below code , i have catch the file "Orders.20110714.out "file
as a Orders*.out. but it giving me an error .it does not open the file.
if the same thing i have done by code
code-> ls Orders*.out then it gives me the output
Orders.20110714.out
i am trying apply the... (1 Reply)
Discussion started by: pspriyanka
1 Replies
4. Shell Programming and Scripting
Is there a way to see or print a sub code?
Sometime a sub could be already defined, but in the debug mode (so, interactively) it could be already out of screen.
So, I would think about a way to check if the sub is defined (just 'defined' is not a problem) and how it is defined.
Also, if... (4 Replies)
Discussion started by: alex_5161
4 Replies
5. Shell Programming and Scripting
can someone please tell what !* means in shell syntax.
Regards, (3 Replies)
Discussion started by: busyboy
3 Replies
6. Shell Programming and Scripting
Hi,
Can somebody tell the usage of "$_"
cd $_ ?
and ls $_ ? (4 Replies)
Discussion started by: giri_luck
4 Replies
7. UNIX for Dummies Questions & Answers
can some one please tell the meaning of the second statement i.e
n=${m#*=}
i couldnt get the meaning of the #*=
1.) m="mohit=/c/main/issue"
echo $m
result
-----------
mohit=/c/main/issue
2.) n=${m#*=}
echo $n
RESULT
-------
/c/main/issue (1 Reply)
Discussion started by: narang.mohit
1 Replies
8. Shell Programming and Scripting
while getopts :g:l:h: KEY $*
do
case $KEY
in
g) NAME=$OPTARG ;;
l) LAB=$OPTARG ;;
h) HD=$OPTARG ;;
*) echo "Illegal option: $OPTARG"
echo "$usage"
exitStatus=1
exitGrace
esac
done (2 Replies)
Discussion started by: santosh1234
2 Replies
9. Shell Programming and Scripting
Hi
Can anybody tell me what is the meaning of the following code?
i=4 j=1 k=0
Specialy meaning of this line
echo $?
Specialy meaning of this line
echo $?
Specialy meaning of this line
echo $?
Thanks in advance
Sas (3 Replies)
Discussion started by: SasDutta
3 Replies
10. 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