put in /etc/profile your code

export ISODATE=`date --iso-8601`

> I am trying  to export a varable from awk and is not taken an effect when
> I
> do  "env" once I exit from the awk  program.
>
>   system(export ISODATE=`date --iso-8601`) or I think I also try  "export
> ISODATE=`date --iso-8601` | getline isodate "
>
> how do I set ENV varable in awk ...
>
>
> -----------------------------------------
> This message and its attachments may contain  privileged and
> confidential information.  If you are not the intended recipient(s),
> you are prohibited from printing, forwarding, saving or copying this
> email.  If you have received this e-mail in error, please immediately
> notify the sender and delete this e-mail and its attachments from your
> computer.
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to