Hello Henry, I have used "sh": sh script But using ./script has the same problem: DATEMSK is not exported. Thank you for the emails HIToC On Monday 25 September 2006 10:53, Henry Margies wrote: > Hello HIToc, > > On Fri, 2006-09-22 at 22:40 +0200, HIToC wrote: > > Now I have tried your script but it does not exports the DATEMSK to the > > environment: if next the execution of the script I type > > echo $DATEMSK it prints nothing. > > How did you execute the script? In order to have the variable exported, > you have to source this shell script. Try something like this: > > . ./script > > or > > source ./script > > > > Best regards, > > Henry > > > - > To unsubscribe from this list: send the line "unsubscribe > linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- With regards, HIToC hitoc_mail@xxxxxxxx - To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html