X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <31DDB7BE4BF41D4888D41709C476B657068AB72D AT NIHCESMLBX5 DOT nih DOT gov> Subject: RE: Problem with the dos2unix command Date: Sun, 21 Oct 2007 19:54:50 +0100 Message-ID: <00c301c81413$dbfa0970$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <31DDB7BE4BF41D4888D41709C476B657068AB72D@NIHCESMLBX5.nih.gov> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 20 October 2007 02:39, Buchbinder, Barry (NIH/NIAID) wrote: > > For the record, shouldn't the following work? > > sed -i -e 's/\r$//' file1, file2, ... Yes, but needs the -b flag. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/