|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX Desktop for Dummies Questions & Answers Discuss UNIX and Linux user interfaces like GNOME, KDE, CDE, and Open Office here. All UNIX and Linux Newbies Welcome !! |
![]() |
|
|
Search this Thread |
|
#1
|
|||
|
|||
|
Understanding the code
hello all, May i know what is this "DEBUG_ME $DEBUG_CMD main" doing in the below code. I am confused with alias also "alias DEBUG_ME='#'". Thanks for your help. Code:
set -x
alias DEBUG_ME='#'
if [ -f "/product/apps/informatica/v7/pc/ExtProc/debug.ksh" ] ; then
. /product/apps/informatica/v7/pc/ExtProc/debug.ksh "$1"
fi
# Declaring the Variables used
FEED="$1"
UNAME=`uname -n`
DEBUG_ME $DEBUG_CMD main
INFORMATICA="/product/apps/informatica/v7"
EXTPROC="/product/apps/informatica/v7/pc/ExtProc"
TGT_DIR="/product/apps/informatica/v7/pc/TgtFiles"
COMPLETE_FILE_SOURCE="/ADP_Impact_TT_Output" |
| Sponsored Links | ||
|
|
|
#2
|
||||
|
||||
|
With DEBUG_ME aliased to a "#" it comments out any code in lines that it precedes, so as the code stands "$DUBUG_CMD main" will not be run.
|
| Sponsored Links | ||
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Understanding FTP connection code | Ariean | UNIX for Dummies Questions & Answers | 2 | 12-28-2009 05:24 PM |
| Problems understanding example code | Makaer | UNIX for Dummies Questions & Answers | 6 | 07-29-2009 11:07 AM |
| Problems understanding example code | Makaer | Shell Programming and Scripting | 1 | 07-29-2009 05:49 AM |
| Need help in understanding thisperl code. | Raheel Hassan | Shell Programming and Scripting | 1 | 03-19-2009 07:01 AM |
| Little Trouble Understanding some code... | NycUnxer | UNIX for Dummies Questions & Answers | 2 | 10-31-2007 08:20 AM |