!!
previous input string!n
n'th input string!-n
n'th previous input string!STR
input string starting with STR!?STR?
input string containing STR
These suffix are available.
:0
command name:m
m'th argument^
first argument$
last argument\*
all argument@
the directory
nyagos.histchar
: header-character for substitution (default:!
)nyagos.antihistquot
: characters to disable (default:'"
)
~
(tilde) are replaced to%HOME%
or%USERPROFILE%
.
%u+XXXX%
are replaced to Unicode charactor (XXXX is hexadecimal number.)
`COMMAND`
OR $(COMMAND)
is replaced to what COMMAND print to standard output.
echo a{b,c,d}e
is replaced to
echo abe ace ade
FOO.pl ...
is replaced toperl FOO.pl ...
FOO.py ...
is replaced toipy FOO.py ...
,py FOO.py
orpython FOO.py ...
(inserted the first found interpreter's name)FOO.rb ...
is replaced toruby FOO.rb ...
FOO.lua ...
is replaced tolua FOO.lua ...
FOO.awk ...
is replaced toawk -f FOO.awk ...
FOO.js ...
is replaced tocscript //nologo FOO.js ...
FOO.vbs ...
is replaced tocscript //nologo FOO.vbs ...
FOO.ps1 ...
is replaced topowershell -file FOO.ps1 ...
To append the new associtation between the suffix and interpreter, write
suffix.xxx = "INTERPRETERNAME"
suffix.xxx = { "INTERPRETERNAME","OPTION" ... }
suffix[".xxx] = "INTERPRETERNAME"
suffix[".xxx] = { "INTERPRETERNAME","OPTION" ... }
suffix(".xxx","INTERPRETERNAME")
suffix(".xxx",{ "INTERPRETERNAME","OPTION" ... })
in %USERPROFILE%\\.nyagos