This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygpath feature suggestion


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]