The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
exporting number into .csv file in text form (no other extra charc) from shell script Deepak_Rastogi Shell Programming and Scripting 5 03-13-2008 01:08 PM
Exporting text file data to csv l_jayakumar Shell Programming and Scripting 3 09-18-2005 08:27 PM
Exporting data clearchoice Windows & DOS: Issues & Discussions 0 06-16-2005 10:32 AM
exporting a dmp file (oracle)from unix etravels SUN Solaris 4 02-05-2004 05:01 AM
Global Variabels Esaia High Level Programming 4 08-07-2002 04:22 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-30-2007
Registered User
 

Join Date: Jul 2006
Posts: 183
exporting variabels from env file

I am running a unix script and calling an env script with in that. but the variables i am exporting in env are not being used by the present script. can any body let me know why? The env file is in the same directory and when i run in devug mode its able to show all the variable values also.

Here is a snippet:

./lin_env

if [ ! -d $C_ARCHIVE_DIR/$YYMM ]; then
mv $C_SRCFILE_DIR/lin_$linBR\_$CODE\_$CYCLES.$YYMM.* $C_ARCHIVE_DIR/$YYMM/
fi

ERROR: /0711 no such directory
Reply With Quote
Forum Sponsor
  #2  
Old 11-30-2007
Registered User
 

Join Date: Oct 2007
Posts: 8
Exporting variables

. ./lin_env
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:30 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0