# User test config file for t-argparse

[-echo begin of user config (user=${user})]
[+verbose]
# Options applied to all user's config files
echo

# The next should be flagged as unexpected meta command.
#<off>[ignore]

my-option 4711

not-my-option

verbose

[let user  ${_}Montgomery Scott$_$_  ]
[-echo   The name of the user is: "$user". ]
[getenv foo FOO]
[if $_verbose]
[-echo foo=$foo]
[fi]
[getenv home HOME]
[getenv path PATH ]
[if $_verbose]
[-echo home=$home path=$path]
[fi]

[-info checking user]
[if $user = Scottie's engines ]
[fi]
[-info checking substring check]
[getenv home $HOME]
[if $home =~ home ]
  [-echo in home condition]
[fi]
[expand]
[if $foo -n ]
  cross-ref "$home/project/$user.crf"
  [-echo FOO is set]
  [if $home -n]
     [-echo home is set]
  [else]
     [-echo home is not set]
  [fi]
[else]
  [-echo FOO is not set]
[fi]
street Mühlenstraße

[getreg x hkcu\fhghfkhkfh]
[if $_windows]
[if $x]
  street $x
[fi]
[fi]

# Print some infos from our strusage function
[-echo strusage(9)=${_strusage9}]
[-echo strusage(11)=${_strusage11}]
[-echo strusage(13)=${_strusage13}]
[-echo pgm="$_pgm" ver="$_version"]
[if $_version -v3gt 6.42.16]
  [-echo is > 6.42.16]
[fi]
[if $_version -v3ge 6.42.17]
  [-echo is >= 6.42.17]
[fi]
[if $_version -v3lt 6.42.17]
[else]
  [-echo is not < 6.42.17]
[fi]
[-echo end of user config]
