> I have a symbol % in file in many places. I want to remove
> it from the file.

can you try this?

perl -pi -e 's/%//g' filename

Varghese
ps-ax.org

Sridhar Reddy wrote:

Is there any way to delete a character from a file from command line

Let me explain..

                I have a symbol % in file in many places. I want to remove
it from the file. Here I don't like to write a script just looking for a
command to delete the character from the file.



Thanks,
Sridhar Reddy




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to