RE: need help with sed
- From: <oviaprasad.dharuman@xxxxxxxxx>
- Date: Mon, 30 Jun 2008 17:30:11 +0530
Hi
Try this
echo 2008:04:23 | sed 's/://g'
Regards
Ovia
-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx
[mailto:fedora-list-bounces@xxxxxxxxxx] On Behalf Of Guillaume
Sent: Monday, June 30, 2008 5:28 PM
To: For users of Fedora
Subject: need help with sed
Hi,
When I run this command:
echo 2008:04:23 | sed 's/://'
The result is
200804:23
I expect to have this :
20080423
What is wrong with my very simple regexp ':' why all occurence of the
char ':' are not deleted ?
its make me crazy, can someone help me ?
Thanks
--
Guillaume
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- need help with sed
- From: Guillaume
- need help with sed
- Prev by Date: Re: need help with sed
- Next by Date: Re: need help with sed
- Previous by thread: Re: need help with sed
- Next by thread: Re: need help with sed
- Index(es):
Relevant Pages
|