can any body tell me how to remove quotes from a name.
can any body tell me how to remove quotes from a name.
am 31.08.2005 11:42:09 von mayank.ahuja
--=_alternative 00351C9D6525706E_=
Content-Type: text/plain; charset="US-ASCII"
Hi all
Could any body tell me how to get
mayank
from
'mayank'
sp. by map or grep command
(means I just want to remove the single quotes. tht's it)
thankx
n
with regards
Mayank Ahuja
Assistant System Engineer
Tata Consultancy Services Limited
Ph:- 044-55555816
Cell:- 9283199460
Mailto: mayank.ahuja@tcs.com
Website: http://www.tcs.com
Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
--=_alternative 00351C9D6525706E_=--
Re: can any body tell me how to remove quotes from a name.
am 31.08.2005 18:35:00 von Eric Walker
if the 'mayank' is in a text file, then
cat file | sed s/\'//g > newfile
this should do it I think.
On Wednesday 31 August 2005 03:42 am, mayank.ahuja@tcs.com wrote:
> Hi all
> Could any body tell me how to get
> mayank
> from
> 'mayank'
> sp. by map or grep command
> (means I just want to remove the single quotes. tht's it)
>
>
> thankx
> n
> with regards
>
>
>
> Mayank Ahuja
> Assistant System Engineer
> Tata Consultancy Services Limited
> Ph:- 044-55555816
> Cell:- 9283199460
> Mailto: mayank.ahuja@tcs.com
> Website: http://www.tcs.com
>
> Notice: The information contained in this e-mail message and/or attachments
> to it may contain confidential or privileged information. If you are not
> the intended recipient, any dissemination, use, review, distribution,
> printing or copying of the information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If you have received
> this communication in error, please notify us by reply e-mail or telephone
> and immediately and permanently delete the message and any attachments.
> Thank you
--
Eric Walker
EDA/CAD Engineer
Work: 208-368-2573
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
Re: can any body tell me how to remove quotes from a name.
am 31.08.2005 19:10:13 von Scott Taylor
Eric Walker said:
> if the 'mayank' is in a text file, then
> cat file | sed s/\'//g > newfile
>
> this should do it I think.
LMAO - Nice, for a top poster,
> On Wednesday 31 August 2005 03:42 am, mayank.ahuja@tcs.com wrote:
>> Hi all
>> Could any body tell me how to get
>> mayank
>> from
>> 'mayank'
now for something completely different:
perl way:
my $something = "\'mayank\'";
$something =~ s/'//g;
>> sp. by map or grep command
Maybe you want a different list, not perl begginers?
--
Scott
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
RE: can any body tell me how to remove quotes from a name.
am 31.08.2005 19:11:27 von Bob Showalter
mayank.ahuja@tcs.com wrote:
> Could any body tell me how to get mayank from 'mayank'
$var =~ tr/'//d;
> sp. by map or grep command
Those functions are not appropriate to the problem as you've described it
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org