On Tue, Aug 2, 2011 at 9:55 AM, Randy Braun <rbr...@footlocker.com> wrote:
>
> Anyone have any ideas as to why I am seeing ^M characters at the end of
> each line after decrypting a file?
>
> I am using the following:
>
> /sftw/gnupg/bin/gpg --output /path/path/testfile.txt
> --decrypt /path/path/testfile.txt.pgp
>
> This is gnupg 1.4.10 on AIX 5.3.12.2


Was the file encrypted on another platform?  Windows, for example,
places \r\n (carriage return, newline) at the end of each line.  UNIX
OSs use just \n, and Mac OS 9 and earlier used just \r.  ^M is another
representation of the carriage return character.  (Aka \r.)

David



-- 
David Tomaschik, RHCE, LPIC-1
System Administrator/Open Source Advocate
OpenPGP: 0x5DEA789B
http://systemoverlord.com
da...@systemoverlord.com

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to