bashlib1
はじめに (scriptlib フォルダー)
開発方針
シェル・スクリプトを読むには
bash を使ってコーディングするときの注意
Mac OS X のテキストエディットを使って編集する
メニュー、ショートハンド・プロンプト (menu, setup)
メニューを開くには
ショートハンド・プロンプトの活用
bashlib の menu
SearchFile コマンド
NewSh コマンド
NewMenu コマンド
Extract コマンド
chmod_x コマンド
ユーザーインターフェース
EchoOn_func
EchoOff_func
echo_line_func
echo_e_func
ColorText_func
Pause_func
Input_func
SetAutoInputFromMainArg_func
InputPath_func
InputCommand_func
InputOption_func
ファイル操作
AppKeyClass.newWritable_method
CheckWritable_func
mkdir_func
mkdir_for_it_func
rm_func
sudo_func
chown_it_and_parent_func
chmod_x_func
MakeSymbolicLink_func
readlink_func
Extract_func
ListUpIn_func
ExpandWildcard_func
ReplaceTextFile_func
ReplaceTextFileLineRange_func
GetAbsPath_func
GetParentAbsPath_func
SearchParent_func
その他
プロセス制御、関数呼び出し
GetLongOptions_func
CheckArgCount_func
CheckMinArgCount_func
CheckMaxArgCount_func
CheckOutParamIsConflictToLocal_func
CheckEvalParamIsConflictToLocal_func
local_func
SetOutput_func
SetOutputAsArray_func
GetUsableCommands_func
GetUsableApplicationsForMac_func
IsMac_func
IsInstalled_func
AppKeyClass.enableInstall_method
InstallIfNot_func
Uninstall_func
その他
テスト支援
Assert_func
EchoTestStart_func
その他
文字列
LF, Tab
AddIfNotExist_func
IsNumeric_func
StringClass.length_method
StringClass.substring_method
StringClass.trim_method
StringClass.right_method
StringClass.cutLastOf_method
LeftOfStr_func
LeftOfLastStr_func
RightOfStr_func
RightOfLastStr_func
StringClass.indexOf_method
StringClass.lastIndexOf_method
StringClass.replace_method
StringClass.toLowerCase_method
StringClass.toUpperCase_method
StringEscapeUtilsClass.escapeGrep_method
StringEscapeUtilsClass.escapeSed_method
StringEscapeUtilsClass.escapeBashReplace_method
StringEscapeUtilsClass.escapeBashDoubleQuot_method
StringEscapeUtilsClass.escapeBashParam_method
MultiLine_func
その他
配列
ArrayClass.getLength_method
ArrayClass.get_method
ArrayClass.set_method
ArrayClass.remove_method
ArrayClass.clear_method
ArrayClass.fromLines_method
ArrayClass.fromCSV_method
IsSameArrayOutOfOrder_func
その他
連想配列、オブジェクト
bashlib を使ったオブジェクト指向記述法 - bashool
bashlib を使った多態性(ポリモアフィズム)
declare_AssociativeArrayClass
Attr_func
SetAttr_func
AssociativeArrayClass.getLength_method
AssociativeArrayClass.getKeys_method
AssociativeArrayClass.getItems_method
AssociativeArrayClass.destroy_method
CopyArray_func
CopyArrayAttr_func
SetAttr_as_ArrayName_func
SetAttr_as_AssociativeArrayName_func
bashlib_inc.sh (bashlib のベース・システム)
Main_func
g_StartInPath
g_Arguments
エラー処理
CheckPipeStatus_func
done_func
Error_func
g_Err_Desc
g_ExitStatus
TryStart_func, TryEnd1_func, TryEnd2_func
ErrClass.raiseOverwrite_method
ErrClass.clear_method
その他
困ったときは? (デバッグ)
de, debugger
ec
es