[sword-devel] Detecting Problem Characters

Greg Hellings greg.hellings at gmail.com
Fri Sep 23 11:52:15 MST 2011


Mac newlines are \r, so that is probably what mixed you up.

--Greg

On Fri, Sep 23, 2011 at 1:25 PM, Troy A. Griffitts <scribe at crosswire.org> wrote:
> Yeah, I tried sed first, but this was originally for the mac and I couldn't
> get it to work with new lines on the mac.
>
> On 09/23/2011 07:59 PM, Karl Kleinpaste wrote:
>>
>> "Troy A. Griffitts"<scribe at crosswire.org>  writes:
>>>
>>>  This script removes all \r's from your file
>>
>> You sure do like to work awfully hard.
>>
>> sed -i -e 's/\r$//' foo.txt
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>



More information about the sword-devel mailing list