How to print the full Windows path inside the sed command?

Chip Panarchy forumanarchy@gmail.com
Wed Dec 9 22:09:00 GMT 2009


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



More information about the Cygwin mailing list