Re: Delete a char from file

2005-10-19 Thread John W. Krahn
Sridhar Reddy wrote: > Is there any way to delete a character from a file from command line Yes. > Let me explain.. Please do. > 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 delet

Re: Delete a char from file

2005-10-19 Thread Varghese Mathew
> 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 %

Delete a char from file

2005-10-19 Thread Sridhar Reddy
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, Sr