[sword-devel] Detecting Problem Characters

Troy A. Griffitts scribe at crosswire.org
Fri Sep 23 11:25:12 MST 2011


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




More information about the sword-devel mailing list