Re: Changing date field in a text file...
From: William Park (opengeometry_at_yahoo.ca)
Date: 09/26/05
- Next message: Ed Morton: "Re: Changing date field in a text file..."
- Previous message: Sune: "Re: Substitute this pattern for that pattern EXCEPT if this is true with sed???"
- In reply to: contracer11_at_gmail.com: "Changing date field in a text file..."
- Next in thread: Chris F.A. Johnson: "Re: Changing date field in a text file..."
- Reply: Chris F.A. Johnson: "Re: Changing date field in a text file..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 25 Sep 2005 18:11:24 -0400
contracer11@gmail.com wrote:
> Hi all:
> Can you tell me how can I change all date field in a text file ?
> I need change all date field from mm/dd/yy to dd-Mmm.
> Example:
>
> 09/25/05 -> 25-Sep
> 03/18/04 -> 18-Mar
> 07/28/05 -> 28-Jul
>
> Remember that this dates are in a text file with a lot of
> data, not only in a column.
>
> Thanks in advance.
man date
-- William Park <opengeometry@yahoo.ca>, Toronto, Canada ThinFlash: Linux thin-client on USB key (flash) drive http://home.eol.ca/~parkw/thinflash.html BashDiff: Super Bash shell http://freshmeat.net/projects/bashdiff/
- Next message: Ed Morton: "Re: Changing date field in a text file..."
- Previous message: Sune: "Re: Substitute this pattern for that pattern EXCEPT if this is true with sed???"
- In reply to: contracer11_at_gmail.com: "Changing date field in a text file..."
- Next in thread: Chris F.A. Johnson: "Re: Changing date field in a text file..."
- Reply: Chris F.A. Johnson: "Re: Changing date field in a text file..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|