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
> 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 %
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