From: jeffdb AT netzone DOT com (Mikey) Subject: SOLVED!! extra cr/lf problem when using rm chmod ... 1 Feb 1997 23:19:19 -0800 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <01BC1079.5EDD9B40.cygnus.gnu-win32@scottsdale-ts5-21.goodnet.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="---- =_NextPart_000_01BC1079.5EDD9B40" Original-To: "'gnu-win32 mailing list'" Original-Sender: owner-gnu-win32 AT cygnus DOT com ------ =_NextPart_000_01BC1079.5EDD9B40 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable This patch seems to fix the extra cr/lf problem when getting input for = one of the fileutils, and I don't see that it breaks anything else, so I = thought it might come in handy. ------ =_NextPart_000_01BC1079.5EDD9B40 Content-Type: application/octet-stream; name="LINE_INPUT.dif" Content-Transfer-Encoding: base64 LS0tIHdpbnN1cC9maGFuZGxlci5jYwkxOTk3LzAxLzMxIDE3OjA0OjI2CTEuNQorKysgd2luc3Vw L2ZoYW5kbGVyLmNjCTE5OTcvMDIvMDIgMDI6MTY6NDMKQEAgLTI0MjcsMTEgKzI0MzIsMTQgQEAK ICAgZGVidWdfcHJpbnRmKCJGYWtlUmVhZEZpbGUsIHJlcyA9ICVkLCBmbGFncyA9ICV4XG4iLCBy ZXMsIGZsYWdzKTsKIAogICAvKiBpZiB0aGluZ3MgYXJlIHNwZWNpYWwsIGp1c3QgZG8gd2hhdCB3 ZSB1c2VkIHRvICovCi0gIGlmICgoIXJlcykgCi0gICAgICB8fCAoZmxhZ3MgJiBFTkFCTEVfTElO RV9JTlBVVCkgCi0gICAgICB8fCAob3YgIT0gMCkpCisgICBpZiAoKCFyZXMpIHx8IChvdiAhPTAp KQogICAgICAgICB7CiAgICAgICAgICAgcmV0dXJuIFJlYWRGaWxlIChobmRsLCBwdiwgbGVuaW4s IGRvbmUsIG92KTsKKyAgICAgICAgfQorICAgaWYgKGZsYWdzICYgRU5BQkxFX0xJTkVfSU5QVVQp IAorICAgICAgICB7IC8qIEkga25vdyB0aGlzIGlzIGp1c3QgdHJlYXRpbmcgdGhlIHN5bXB0b21z ICovCisJICAgRmx1c2hDb25zb2xlSW5wdXRCdWZmZXIoaG5kbCk7CisgICAgICAgICAgIHJldHVy biBSZWFkRmlsZSAoaG5kbCwgcHYsIGxlbmluLCBkb25lLCBvdik7IAogICAgICAgICB9CiAKICAg Lyogb3RoZXJ3aXNlLCBkbyBzb21ldGhpbmcgdGhhdCB3b3JrcyAqLwo= ------ =_NextPart_000_01BC1079.5EDD9B40-- - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".