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 delete the character from the file. 

No script, ok.

tr -d % < oldfile > newfile

sed s/%//g oldfile > newfile



John
-- 
use Perl;
program
fulfillment

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