-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_README.md_ufl9
72 lines (51 loc) · 1.7 KB
/
_README.md_ufl9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/bin/bash
echo -e "${CYAN}--- _README_rnd7_9144af9() $* in file://${REPO_PATH}/stl/_README.md_ufl9 ---${NORMAL}" #started functions
_README_rnd7_9144af9() {
# gig from file://${ST_RC_D_PATH}/.d/.arb/stl0.arb/ufl_stl0.ram/.grot/ufl_stl0.sh
local FNN=${FUNCNAME[0]}
local ARGS=("$@")
local NARGS=$#
local PPWD=$PWD
local path_file="${REPO_PATH}/stl/_README.md_ufl9"
local path_dir="$(dirname "$path_file")"
# echo -e "${CYAN}--- $FNN() $* in file://${path_file}---${NORMAL}" #started functions
cd ${path_dir} || {
# hint="\$1: \$2: "
_st_exit "in fs= file://$path_file , line=${LINENO}, ${FNN}() : NOT_DIR : 'file://${path_dir}' : ${hint} : return 1"
return 1
}
if [ "-h" == "$1" ]; then
echo -e "${CYAN} ${FNN}() help:
MAIN:
TAGS: @
ARGS: \$1
EXAM:
EXEC:
CNTL:
_go : _edit ${path_file}
RETURN: ( result>stdout, return 0 | data | change to ptr | fs_structure | ...)
ERROR: ( return 1 | ... )
${FNN}
${NORMAL}"
fi
if [[ "_go" == "$1" ]]; then
_edit "${path_file}"
cd $PPWD
return 0
fi
# hint="\$1: \$2: "
# if _isn_from ${NARGS} less more "in fs= file://${path_file} , line=${LINENO}, ${FNN}() : ERR_AMOUNT_ARGS entered :'${NARGS}' args : ${hint} : return 1"; then
# return 1
# fi
# local _ARGS_=("$@")
# _parr3e _ARGS_
#{{ptr_path}}
#! START BODY FN ---------------------------------------
echo "START BODY FN : ${FNN}() $*"
#{{body_fn}}
echo | ufl_stl0 9 ${REPO_PATH}/stl/.d/.opus/readme.opus/_cntx.ins.d ${REPO_PATH}/stl/README.md 2
#! END BODY FN ---------------------------------------
cd $PPWD
return 0
}
_README_rnd7_9144af9 "$@"