file correction
Brian K. White
brian at aljex.com
Mon Jul 11 12:40:31 PDT 2011
On 7/10/2011 3:36 PM, ROBERT PULLIAM wrote:
> I have a file that is one long string. ie st*234*685~bd*tuy*45*cvb~se*123*1234567
>
> iI would like to find all the ~ and replace with a manual line feed. At present I am copying the files from unix to windows and using word with replace to do this. Would like to be able to do it in unix, Using sco unix.
> Is there an ed, sed or grep comand that will find and replace?
> Any suggestions - thanks - Robert Pulliam MD
Why?
I usually hate when people ask that instead of answering the question
that was actually asked, but in this case I need convincing that you're
not asking people to spend effort thinking up ways to help you do
something the hard and non-robust way when there is really another way
that is not only easier but more robust.
There are many ways to get that transformation done, and without more
context it's not possible to say what is the best way, and I bet that
context will actually show that you don't even need or want to do that
transformation in the first place.
--
bkw
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20110710/36762817/attachment.html
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
More information about the Filepro-list
mailing list