Re: need help with sed
- From: wwp <subscript@xxxxxxx>
- Date: Mon, 30 Jun 2008 18:30:19 +0200
Hello Guillaume,
On Mon, 30 Jun 2008 13:58:29 +0200 Guillaume <guillaume.chardin@xxxxxxxxx> wrote:
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
For this exact same purpose - removing all occurrences of some specific
char(s) - you could have used `tr`, like in:
# echo 2008:04:23 | tr -d :
Regards,
--
wwp
Attachment:
signature.asc
Description: PGP signature
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Follow-Ups:
- Re: need help with sed
- From: Luc MAIGNAN
- Re: need help with sed
- References:
- need help with sed
- From: Guillaume
- need help with sed
- Prev by Date: ssh reverse tunnel
- 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
|