☆コマンドエイリアス設定について↑
コマンドエイリアスは/_aliasの各行の行頭から
aliasName = #command [option] [regexp]
のように書く事で設定できます。
左辺の aliasName の先頭に#を書いてはいけませんが、
右辺の command の前には#が必要です。
[option] と [regexp] は省略できます。
特殊変数 $1, $TITL, $LTTL, $USER, $PLNK が使用できます。
$1 には #aliasName 文字列 としたときの文字列の部分が
代入されます。
コマンドエイリアス設定
include = #cat -ai ^/$1$
show = #cat -a ^/$1$
navi = #cat -avi ^/_navi$
header = #?header $1
headershort = #?header -s $1
beginheader = #?div header
endheader = #?div
sidebar = #cat -avi ^/_sidebar$
footer = #cat -avi ^/_footer$
body = #cat -avi ^/_body$
endbody = #cat -avi ^/_endbody$
main = #cat -ai ^/_main$
start = #?header -S $1
startshort = #?header -Ss $1
end = #cat -ai ^/_end$
endbbs = #cat -ai ^/_endbbs$
bbs = #cat -avi ^/_bbs$
comment = #cat -avi ^/_comment$
diarycomment = #cat -avi ^/_comment$
enddiary = #cat -ai ^/_enddiary$
sandbox = #include _sandboxheader
keyword = #include _keyword
theme = #?theme
entry = **[[$ANC|ANCH|aanchor|この記事へのリンクです]] $1
entr = **[[$ANC|OPEN|oanchor|編集中の記事へのリンクです]] $1
anchr = #entry $1 [[$UPS|UPST|uanchor|親ページへ戻ります]]
anch = #entr $1 [[$UPS|UPST|uanchor|親ページへ戻ります]]
diary = #include _diary
diar = #include _diar
pwd = #?admincheck -s
navimenu = #?navimenu /_navi/guest,/_navi/user,/_navi/admin
prefs = #include _prefs
cont = #?continue -d $1
delbak = #?lsr -rXD .* $1
referrer = #?referrer
hatesu = #?hatesu