List Info

Thread: getdate(3) - format date




getdate(3) - format date
user name
2006-09-25 08:53:33
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 majordomovger.kernel.org
More majordomo info at  http://vge
r.kernel.org/majordomo-info.html
getdate(3) - format date
user name
2006-09-26 17:27:37
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
majordomovger.kernel.org
> More majordomo info at  http://vge
r.kernel.org/majordomo-info.html

-- 
With regards,


					HIToC
					hitoc_mailyahoo.it
-
To unsubscribe from this list: send the line
"unsubscribe linux-c-programming" in
the body of a message to majordomovger.kernel.org
More majordomo info at  http://vge
r.kernel.org/majordomo-info.html
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )