X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Thu, 10 Dec 2009 09:09:35 +1100 Message-ID: <7abf96460912091409i3937fbd1kc3c597a3e8a9e79a@mail.gmail.com> Subject: How to print the full Windows path inside the sed command? From: Chip Panarchy To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hello First I copied: cygiconv-2.dll, cygintl-3.dll, cygintl-8.dll, find.exe (renamed to find2.exe) & sed.exe to the %WINDIR%. Then I ran the following command from command-prompt; find2 . -follow -type f | sed -e "s|^\.|PATH|" -e "s|^|File:\t|" Is there a command (from Cygwin/Linux: PATH) which I can use to print the full directory path? Please tell me how I can make this command work. Thanks in advance, Panarchy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple