On 2017-04-09 09:04, Thomas Schnurrenberger wrote:
You could make use of the "--args" option in Fossil:
$ echo *|fossil test-echo --args -
I have written a small wrapper for invoking Fossil without
expanding wildcards:
--- content of fng.cmd ---
@echo off
rem
rem Invoke Fossil without command line globbing.
rem 2014-08-03 Thomas Schnurrenberger
rem
setlocal
if "%~1" == "fossil" goto loop
rem
rem Invoke ourself and pass the output to fossil.
"%~f0" fossil %*|fossil --args -
goto leave
rem
rem Output each argument on a single line.
:loop
if "%~2" == "" goto leave
echo %~2
shift
goto loop
:leave
endlocal
--- end of content ---
This is a highly sophisticated solution ;-)
Thanks for sharing.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users