This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: bash scripting problem
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Andrew Louie on 12/4/2006 6:37 AM:
> Is there a utility like a hex editor for cygwin that can check files for the
> "\r" line endings?
od can display the contents of a file (I like 'od -Ax -tcz'). Or you can
use 'file', which detects CRLF line endings in text files. Or go for
broke and use hexl-mode of emacs. In short, yes, there are a number of
cygwin utilities that can detect line endings.
- --
Life is short - so eat dessert first!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFdCb+84KuGfSFAYARAgzPAKClhUgTEe7ZQej9MN+1Jzymcf+1xQCgmBWa
XZ38+j6/KH2O/qn9XO4Fe5I=
=dWZq
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/