Re: [fossil-users] fossil-users Digest, Vol 106, Issue 17

2016-11-15 Thread Warren Young
On Nov 14, 2016, at 10:09 PM, Ron W  wrote:
> 
> On Nov 12, 2016, at 4:52 AM, arnoldemu  
> wrote:
> >
> > That is useful. What would the windows equivalent command-line?
> 
> 2. xargs.  Again, no direct equivalent, requiring a bunch of ugly batch/PS 
> code to replicate a 5-character command name.
> 
> Another option for xargs on Windows is:
> http://gnuwin32.sourceforge.net/packages/findutils.htm

Ugh…they’re still shipping a version of Findutils from *March 2005*.  The 
current release (4.6.0) is less than a year old.

Still, it seems to work, even with the single-quoted \n in Andy’s command.  The 
GnuWin port must be doing some kind of command line parsing for you to allow 
that.

Fair warning: I did that test with a Cygwin build of Fossil.  Does the native 
Windows fossil.exe emit just LF characters for line breaks in a pipeline, or 
does it do CRLF?
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] fossil-users Digest, Vol 106, Issue 17

2016-11-14 Thread Ron W
On Mon, Nov 14, 2016 at 7:25 PM, 
wrote:
>
> Date: Mon, 14 Nov 2016 06:49:44 -0700
> From: Warren Young 
> Subject: Re: [fossil-users] Follow-up to reverting missing files
>
> On Nov 12, 2016, at 4:52 AM, arnoldemu 
> wrote:
> >
> > That is useful. What would the windows equivalent command-line?
>
> 2. xargs.  Again, no direct equivalent, requiring a bunch of ugly batch/PS
> code to replicate a 5-character command name.
>

Another option for xargs on Windows is:
http://gnuwin32.sourceforge.net/packages/findutils.htm

And there are other packages in the gnuwin32 project that might be useful.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users