This is the mail archive of the
cygwin
mailing list for the Cygwin project.
How to print the full Windows path inside the sed command?
- From: Chip Panarchy <forumanarchy at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 10 Dec 2009 09:09:35 +1100
- Subject: How to print the full Windows path inside the sed command?
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