Re: string to date KSH
- From: "vishu" <tolava@xxxxxxxxx>
- Date: 26 Oct 2006 11:33:51 -0700
Could you please explain the following code in brief words.
Ed Morton wrote:
Rafael The Engel wrote:
Hello everyone,
I need your help
I have a string the contains a date "20061024"
I wand to convert it to 24/10/2006
$ date="20061024"
$ tmp="${date%??}"
$ echo "${date#??????}/${tmp#????}/${tmp%??}"
24/10/2006
Regards,
Ed.
.
- Follow-Ups:
- Re: string to date KSH
- From: Janis Papanagnou
- Re: string to date KSH
- References:
- string to date KSH
- From: Rafael The Engel
- Re: string to date KSH
- From: Ed Morton
- string to date KSH
- Prev by Date: Server Size
- Next by Date: Re: send in email with message in body and attachment
- Previous by thread: Re: string to date KSH
- Next by thread: Re: string to date KSH
- Index(es):