cygpath feature suggestion

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Mon Oct 3 16:40:00 GMT 2005


On Mon, Oct 03, 2005 at 12:34:58PM -0400, Buchbinder, Barry (NIH/NIAID) wrote:
>It would be useful if cygpath could work as a filter, taking in lists of
>paths on the standard input and put them out one per line on the standard
>output.  This could be used as a work-around for 
>	for F in
>`command_or_pipe_creating_a_list_of_files_with_spaces_in_them`
>	do
>		echo ${F}
>	done
>causing the file names to be split up at the spaces.
>
>Yes, I know, PTC, but I'm not a programmer.  This is just a suggestion.

In this case, the only PTC required is for the documentation.  Take a look
at 'cygpath --help', the option already exists.  It is just not in the man
page.

cgf

--
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/



More information about the Cygwin mailing list