On 08.04.2017 22:46, Thomas wrote:
> C:\fos>fossil settings crlf-glob *.obj
> C:\fos>
> C:\fos>fossil settings crlf-glob *
> Usage: fossil settings ?PROPERTY? ?VALUE? ?-global?
> C:\fos>fossil settings crlf-glob * -global
> Usage: fossil settings ?PROPERTY? ?VALUE? ?-global?
> C:\fos>fossil settings crlf-glob "*"
> Usage: fossil settings ?PROPERTY? ?VALUE? ?-global?
> C:\fos>fossil settings crlf-glob "*" -global
> Usage: fossil settings ?PROPERTY? ?VALUE? ?-global?
> 
> Does anyone know how to unveil the secret of getting the mentioned
> asterisk into the crlf-glob setting without consulting the web interface?
> 

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

HTH

-- 
tsbg

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to